+ 2
[Solved] 21 Code Project - What is wrong with my code?
Hey!! š¤ I donāt know, what is wrong with my code.š„² I donāt get itā¦ My output is the same as the expected output with one mistake: I have an empty line firstā¦ š Thanks in advance! š¤ My code: [ā¦] while (n >= 1){ cout << n << endl; if (n % 5 == 0){ cout << "beep" << endl; } n--; } return 0; }
3 Answers
0
G'day Jeremy congratulations on getting the challenge done. Did you just have to adjust your output to have correct capitalisation?
Would you do a bit of housekeeping, edit your original post to start with [Solved]?
Have you found the Q&A search bar (it is the magnifying glass icon at the top of the discuss screen)? Did you know you can link other Q&A posts or SoloLearn code bits (use the plus icon)?
https://www.sololearn.com/discuss/1316935/?ref=app
+ 5
Jeremy ,
the output should start with an upper case letter: "Beep"
+ 2
Lothar Thank you!! š±š¤
Wellā¦ š