New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
JosephusChallenge
3 Votes
1 AnswerChallenge with c#
1 Vote
1 AnswerChallenges on Web version
55 Votes
44 AnswersChallenge unfairness
22 Votes
7 AnswersChallenges, where are they?
3 Votes
2 AnswersIs C# challenge on the way?
8 Votes
2 AnswersCode Challenge
0 Votes
4 AnswersChallenge 2 Help
0 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 AnswersCHALLENGE ME.
-2 Votes
1 AnswerWrong challenge answers
2 Votes
7 AnswersHot today
What's the error in this code?
0 Votes
How to find image links
0 Votes
Help Me!!!
1 Votes
What's wrong with my code?
0 Votes