+ 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 Respostas
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⊠đ