Sesiones de PyR
In 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 RespuestasWhat is c++ ?
2 Votos
4 RespuestasSee description plz
-3 Votos
5 RespuestasChallenge!
4 Votos
5 RespuestasHtml question
1 Voto
7 RespuestasHacking
-4 Votos
5 RespuestasPYTHON caculator
2 Votos
3 RespuestasEn tendencia hoy
SQL
3 Votes
HTML/CSS questions
0 Votes
JAVA PROGRAMMING
2 Votes
What Does Pseudo Elements Mean.
2 Votes
IMAGE
0 Votes
Html
1 Votes
How to learn css and html
0 Votes