0
Please help me on cpp
On solving cpp problem
6 Respostas
+ 1
What help you want??
+ 1
Ask any specific question pls
+ 1
Praduman
Please show your Attempts.
What you had tried.
0
On solving cpp project of solo
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
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