Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урокОбсуждения
Forgetting a break;
0 голосов
1 ответwhat is break; in java?
1 голос
6 ответовWhen a break breaks?
1 голос
4 ответовC language question
0 голосов
4 ответов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 голосов
8 ответовАктуальное сегодня
Does everyone get this for free?
4 Votes
Dynamic library lib file
0 Votes
[Solved] What will happen if we don't delete an array created by using Dynamic Memory in C++?
1 Votes
HTML5 canvas
1 Votes
Jobs
3 Votes
Can we convert website into app
1 Votes