Q&A Discussions
Post your underdog codes here!
631 Votes
17265 AnswersChallenge here!
4 Votes
9 AnswersC Language is here!
11 Votes
18 AnswersI’m new here!
2 Votes
5 AnswersCSS Grid is HERE!
8 Votes
11 AnswersPlz I need some help here!
0 Votes
7 AnswersIn 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 Votes
8 AnswersHot today
Need a personal tutor
1 Votes
Fix code
0 Votes
..
1 Votes
Software to write and run codes
1 Votes
Add lua
0 Votes
Beginner_to_SoloLearn
1 Votes