Q&A Discussões
Latest challenge [secret]
2 Votos
1 RespostaIn 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 Votos
8 RespostasQuente hoje
Python and unsigned int
0 Votes
Saturn League badge
1 Votes
Lua course?
1 Votes
certificate
1 Votes
Adding an image to my html
0 Votes
Not able to activate account
0 Votes
Sololearn keeps crashing
0 Votes
CSS
1 Votes
About Advanced Courses
0 Votes