0
Why isnt this working?
5 odpowiedzi
+ 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)