Discussioni Q&A
How to
-1 Voto
2 RisposteSoloLearn Trend!
0 Voti
1 RispostaSoloLearn Posts
1 Voto
1 Rispostaradio button in php
1 Voto
1 RispostaBroken Posts
3 Voti
2 RisposteGET/POST Requests
1 Voto
1 RispostaHow to use forms ?
0 Voti
1 RispostaForms and SMS
0 Voti
3 RisposteIn 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 Voti
8 RisposteCodes on online forum
0 Voti
1 RispostaLesson creation
0 Voti
2 RispostePopolare oggi
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
Salut tout le monde
1 Votes