Computer Science, asked by harshal586, 3 months ago

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​

Answers

Answered by vijaypal37
4

Answer:

ररििदारा

ल्किकितूकू अनुसरण के साथ ही बिखर नहीं अपना ख्याल में क्स्सि

Explanation:

य्किकिककि

Answered by aditya112003
2

Answer:

for (int i=n; i > 0; i--)

   {

       cout << i << endl;

       if (i % 5 == 0)

       {

           cout << "Beep" << endl;

       }

   }

Explanation:

Similar questions