Dyskusje Q&A
Why do functions not work?
0 głosów
6 odpowiedziWhy won't this work?
0 głosów
2 odpowiedziProblem with kivy
0 głosów
2 odpowiedziWhat is wrong with code
2 głosów
4 odpowiedziI have a runtime problem!
0 głosów
2 odpowiedziGraphics and sounds?
1 Głos
5 odpowiedziIdentify the c++ code error.
0 głosów
1 Odpowiedź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 głosów
8 odpowiedziPopularne dzisiaj
Loops and conditions
2 Votes
photo upload issue in html code
0 Votes
app for lessons
1 Votes
Any coding competitions?
1 Votes
Rise of AI
1 Votes
Need a personal tutor
0 Votes
Community and feed option
0 Votes