0
Countdown project
Got the wanted output but still getting it as not correct. Hereâs the code #include <iostream> using namespace std; int main() { int n; cin >> n; //your code goes here for(n;n>=1;n--){ cout<<n<<endl; if(n%5==0){ cout<<"beep"<<endl; } } return 0; }
2 Answers
+ 8
b should be uppercase in "Beep"
+ 1
Ohh yeah didnt realize that mattered. Thanks