Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Why does this code throw errors at me? (Fixed)
So Iāve been doing code coach and the errors are happening on the question āthatās odd...ā the code really doesnāt seem to like line 17 wich is odd since there shouldnāt be any error. Hope you guys can tell me whatās wrong with this :) Code: https://code.sololearn.com/cCfG6AOMwg69/?ref=app Edit: I could fix line 17 but line 21 and 27 show an error now :/
3 Respostas
+ 1
`=` and `==` are different operators.
= assigns value to left hand operand.
== compares operands for equality.
on line 17 use = for assignment
int i = 0;
0
Md. Nasif-ur-Rahman Rimon the error on 21 is fixed now but 27 is still there, the error says im using unassigned variable āsumā
0
Md. Nasif-ur-Rahman Rimon thanks for your help its fixed now :P