- 3
Can anyone tell me how to complete the countdown project
10 odpowiedzi
+ 6
Madhur Pandey , before we are going to help you, please present your attempt here. if you haven't done a try by yourself so far, please do so, and post it here.
please also provide a proper task description with sample of input and output.
thanks!
+ 5
Madhur Pandey , sorry to say, but this is not a valid code, this is just putting some fragments together.
I recommend you to work through the tutorial until you have understood the basics, then try to solve this exercise again
+ 2
Madhur Pandey
Learn coding solve problem.
0
include <iostream>
using namespace std;
int main() {
int n =15;
cin >> n;
do
{cout << n;}
whil#
usinge (n>10);
n--;
break;
cout << beap;
do
{cout <<n;}
n--
while (n>5);
Cout << beap
do
{cout<<n
While (n>1);}
//your code goes here
return 0;
}
0
There spelling mistakes!
0
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
do {
cout << n << endl;
n--;
} while(n > 0);
do {
cout << "Beep"<< endl;
}while(n % 5 == 0);
//your code goes here
return 0;
}
this is my failed try, i cant stop laughing. xD
- 2
It is my attempt