Q&A Discussies
I cant believe that output!
4 Stemmen
4 AntwoordenHow to run phython in atom ide
6 Stemmen
2 AntwoordenLatest challenge [secret]
2 Stemmen
1 AntwoordIn the code below the output is 2. This code is used in a challenge and I get an error when I select the answer 2. It accepts as correct the answer 1 which I believe is wrong. If you agree please thumbs up.
If you find any other errors please post them here!
#include <iostream>
using namespace std;
int main()
{
for(int i=1; i>=1; i++) {
if(i<1 || i>1){
cout << i;
break;
}
}
return 0;
}
8 Stemmen
8 AntwoordenPopulair vandaag
Where is the bug?
3 Votes
im beginner
2 Votes
Pointers cpp
2 Votes
Is pro worth the money ?
1 Votes
Drawing images in java
2 Votes