0

Someone should please help me check my error in this code

Java https://code.sololearn.com/cLfHh0Lc6T7N/?ref=app

18th May 2018, 8:45 AM
Iwuanyanwu Fredrick
Iwuanyanwu Fredrick - avatar
5 Answers
+ 4
Get rid of the extra curly brace present at the end. Use the comparison operator ( == ) instead of the assignment operator ( = ) because you're checking for equality, not to assign a value inside the if statement. Iwuanyanwu Fredrick https://code.sololearn.com/csJ5jUJjq789/?ref=app
18th May 2018, 9:27 AM
Dev
Dev - avatar
+ 1
thanks
18th May 2018, 6:15 PM
Iwuanyanwu Fredrick
Iwuanyanwu Fredrick - avatar
0
but it's still showing 3 errors for the int A ==0; int P ==0; int T== 0;
18th May 2018, 6:27 PM
Iwuanyanwu Fredrick
Iwuanyanwu Fredrick - avatar
0
sorry 4 errors including testwritten ==0;
18th May 2018, 6:29 PM
Iwuanyanwu Fredrick
Iwuanyanwu Fredrick - avatar
0
okay. I have seen the once you solved.thanks very much
18th May 2018, 6:32 PM
Iwuanyanwu Fredrick
Iwuanyanwu Fredrick - avatar