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 AnswersHow do I make this work?
0 Votes
1 AnswerHot today
post your python code here)
2 Votes
Help with homework
0 Votes
please help me emotionally
1 Votes
Logical operator
1 Votes
Time
1 Votes