0
Why isnt this working?
5 RĂ©ponses
+ 2
well, I see a couple of things. you canât use (âAnthonyâ) in the class there
also, you are trying to declare a string in an int
int grade = âAâ
it should be a string
then, in the if statement you are asking it to look for a float.
so basically you have mixed up all your data types
also no ; after class here.
it is perhaps not a bad idea to revisit the start if the Java tutorial before continuing
good luck!
+ 1
well if you remove the (âAnthonyâ);
you will get new errors that could help you out :)
if that doesnât work, please revisit the tutorial while keeping the things I pointed out in the back of your mind.
+ 1
Thanks again(:
0
Thanks!
0
But how do i fix the error?(in the output)