0
I have a problem with my code n idk what's it
#include <iostream> using namespace std; int main() { int n; cin >> n; for (int i=n ; i>=0;i-- ) { cout<<i<<endl; if ( i â 5 == 0 ) { cout<<"Beeb\n"; } } return 0; }
2 Answers
+ 8
> it should be "%" instead of "â
"
> If you are solving countdown problem of C++ course then
It should be "Beep" not "Beeb"
> Also i>=1 not i>=0
https://code.sololearn.com/cu42VlBSa42z/?ref=app
+ 2
Thanksđč