¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuitaSesiones de PyR
break;
1 Voto
3 RespuestasBreak;
0 Votos
2 RespuestasForgetting a break;
0 Votos
1 RespuestaWhen a break breaks?
1 Voto
4 RespuestasC language question
0 Votos
4 RespuestasIn 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 RespuestasEn tendencia hoy
How to cast in python
2 Votes
Python
1 Votes
HTML Module 3 Quiz
1 Votes
Field name in ef core
0 Votes