+ 1
Why cant i just write +=1;
3 Réponses
+ 3
Can You Please Give More Details On Your Question...
+ 3
Actually, The Error Is Not With The +=1 But With The While Loop...
Repaired Code:
Num = 1;
while(Num < 6) {
// Your Code Here...
Num += 2;
}
+ 2
Nvm i got it , it was
Num = 1;
While(num <6) {
Num += 2;
}
I was answered num+=1 but it was incorrect, but then i read the question and it says find odd numbers, so it has to be 2.