New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
SoloLearn Trend!
0 Votes
1 AnswerSoloLearn Posts
1 Vote
1 Answerradio button in php
1 Vote
1 AnswerBroken Posts
3 Votes
2 AnswersNeed json documentation.
2 Votes
3 AnswersGET/POST Requests
1 Vote
1 AnswerHow to use forms ?
0 Votes
1 AnswerForms and SMS
0 Votes
3 AnswersWhat's next on Sololearn?
3 Votes
1 AnswerIn 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 AnswersCodes on online forum
0 Votes
1 AnswerLesson creation
0 Votes
2 Answerstesting crud operations
0 Votes
2 AnswersOvercharging?
0 Votes
1 AnswerHow do I make this work?
0 Votes
1 AnswerHot today
Is the AI course worth the $49?
1 Votes
Comparing code coach solutions
3 Votes
Where to use
0 Votes
Coding path
0 Votes
How to win bits
1 Votes
Road Runner!!! ✌🏻🙌🏻
1 Votes