- 1

Using loops in c++ write this program.

A program that asks the user to input the first character of their name and how many times that character be displayed on the screen, the program should then Print the character the number of times specified by the user.

17th Dec 2020, 6:58 PM
Lekhanooe Albert Kekele
Lekhanooe Albert Kekele - avatar
6 Respostas
+ 6
Lekhanooe Albert Kekele , please post your code here, it does not matter if it has issues. thanks!
17th Dec 2020, 9:05 PM
Lothar
Lothar - avatar
+ 5
Please make a code and post a link to it. Then we are able to help you with those problems. Otherwise someone just do the coding part for you and you learn nothing. Thank you.
17th Dec 2020, 7:49 PM
Julian
Julian - avatar
+ 3
Lekhanooe Albert Kekele , i just checked your code - you are very close to to really good solution. 👍 it is just to rearrange some lines of code. take out the 2 inputs with "cin" and put them just after the input prompts. then take the output with "cout" and put it the for loop body. thats all. take a look to the attached file. https://code.sololearn.com/c3tOQY45D07w/?ref=app
18th Dec 2020, 10:04 AM
Lothar
Lothar - avatar
+ 1
Yes I tried and I need help
17th Dec 2020, 7:39 PM
Lekhanooe Albert Kekele
Lekhanooe Albert Kekele - avatar
18th Dec 2020, 6:56 AM
Lekhanooe Albert Kekele
Lekhanooe Albert Kekele - avatar