0

Answer to the countdown problem in c++ course. I have tried but my program only solves case 3 and 5

https://code.sololearn.com/c6lKmb4zp5JL/?ref=app

28th Jul 2021, 11:55 AM
KingZord
KingZord - avatar
3 Answers
+ 4
remove the n variable from the first argument of for loop, the complier will warn you that it would have no effect. you don't need the else statement if you're aren't executing anything. also you didn't capitalize letter B since SL's test cases are case sensitive.
28th Jul 2021, 12:14 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 2
KingZord Read the practice problem again. There is "Beep" not "beep".
28th Jul 2021, 1:25 PM
A͢J
A͢J - avatar
0
Thank you for the advice
6th Aug 2021, 12:04 PM
KingZord
KingZord - avatar