+ 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 Respuestas
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… 😂