Please help me on cpp | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please help me on cpp

On solving cpp problem

29th Apr 2021, 6:08 AM
Praduman
Praduman - avatar
6 Answers
+ 1
What help you want??
29th Apr 2021, 6:49 AM
YUGRAJ
+ 1
Ask any specific question pls
29th Apr 2021, 4:35 PM
YUGRAJ
+ 1
Praduman Please show your Attempts. What you had tried.
30th Apr 2021, 9:54 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
0
On solving cpp project of solo
29th Apr 2021, 3:32 PM
Praduman
Praduman - avatar
0
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". Sample Input: 12 Sample Output: 12 11 10 Beep 9 8 7 6 5 Beep 4 3 2 1
29th Apr 2021, 4:39 PM
Praduman
Praduman - avatar
0
Can you run reverse loop from n to 1 if you can then inside loop just check if i%5==0 then print beep Else print number
29th Apr 2021, 4:53 PM
YUGRAJ