Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
How to
-1 Stimme
2 AntwortenSoloLearn Trend!
0 Stimmen
1 AntwortSoloLearn Posts
1 Stimme
1 Antwortradio button in php
1 Stimme
1 AntwortBroken Posts
3 Stimmen
2 AntwortenNeed json documentation.
2 Stimmen
3 AntwortenHow to do a Web App with Java?
0 Stimmen
2 AntwortenGET/POST Requests
1 Stimme
1 AntwortHow to use forms ?
0 Stimmen
1 AntwortForms and SMS
0 Stimmen
3 AntwortenWhat's next on Sololearn?
3 Stimmen
1 AntwortIn 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 Stimmen
8 AntwortenCodes on online forum
0 Stimmen
1 AntwortLesson creation
0 Stimmen
2 Antwortentesting crud operations
0 Stimmen
2 AntwortenHow do I make this work?
0 Stimmen
1 AntwortHeute heiß
3 consecutive words
1 Votes
c++ help
1 Votes
How to insert a link into code
0 Votes
My future
0 Votes
C++ students' scores program
0 Votes
How to complete
2 Votes
Code optimization | C++
0 Votes