I am having trouble with making my program print the number of zeros the user inputs. My program prompts the user to input a number, then it prints out zeros based on the number they input. For example, if the user types in 5, my program prints out "5 zeros: 00000." We are working on do while loops if that helps any. My program as of now compiles and works correctly other than the fact that it is only printing 1 zero no matter what they input.
Printing number of zeros the user asks for
Collapse
X
Comment