Countdown quest C++ | Sololearn: Learn to code for FREE!


Countdown quest C++

I don't know which the problem is. The two not hidden cases both are the same as my answer, but the compiler tells me they are not. Is there any problem in my code or is the compiler wrong? Here the task: You need to make a countdown app. Given a number N as input, output numbers from N to 1 on separate lines. Also, when the current countdown number is a multiple of 5, the app should output "Beep". I'll pin there the playground: Here one prob. N: 15 Here the answer to that N: 15 Beep 14 13 12 11 10 Beep 9 8 7 6 5 Beep 4 3 2 1

11/17/2021 4:22:00 PM

Matteo Cervini

2 Answers

New Answer


Use capital B in beep


OH, ok thanks