Q&A Discussies
How to
-1 Stem
2 AntwoordenSoloLearn Trend!
0 Stemmen
1 AntwoordSoloLearn Posts
1 Stem
1 Antwoordradio button in php
1 Stem
1 AntwoordBroken Posts
3 Stemmen
2 AntwoordenNeed json documentation.
2 Stemmen
3 AntwoordenGET/POST Requests
1 Stem
1 AntwoordHow to do a Web App with Java?
0 Stemmen
2 AntwoordenHow to use forms ?
0 Stemmen
1 AntwoordForms and SMS
0 Stemmen
3 AntwoordenWhat's next on Sololearn?
3 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 AntwoordenCodes on online forum
0 Stemmen
1 AntwoordLesson creation
0 Stemmen
2 Antwoordentesting crud operations
0 Stemmen
2 AntwoordenPopulair vandaag
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
Decorators in python.
2 Votes
Please click me
0 Votes
Salut tout le monde
1 Votes
How can i isntall modules
1 Votes