+ 1

Guys what's wrong pls

public class Main { public static void main(String[] args) { //correct variable declarations int aGE = 21; String nAME = "john"; double isGraduated = 4.3; boolean aVERAGESCORE = false; //do not change this code System.out.println(aGE ); System.out.println(nAME); System.out.println(isGraduated ); System.out.println(aVERAGESCORE ); } }

27th Mar 2022, 9:30 PM
MR KINGSHOW
MR KINGSHOW - avatar
7 Answers
+ 2
?? double isGraduated = 4.3 boolean aVERAGESCORE = false; should be (i think) double aVERAGESCORE = 4.3; boolean isGraduated = false;
27th Mar 2022, 9:47 PM
rodwynnejones
rodwynnejones - avatar
+ 1
Code is fine. What's the purpose of code?
27th Mar 2022, 9:34 PM
Jayakrishna 🇮🇳
+ 1
Jayakrishna🇮🇳 yess the code is same as the sample output they gave me but I didn't past the case in program
27th Mar 2022, 9:36 PM
MR KINGSHOW
MR KINGSHOW - avatar
+ 1
I mean what is task? Add task description. where are you trying this?
27th Mar 2022, 9:41 PM
Jayakrishna 🇮🇳
+ 1
Jayakrishna🇮🇳 pls can you look for variable coach code, the second program
27th Mar 2022, 9:45 PM
MR KINGSHOW
MR KINGSHOW - avatar
+ 1
Bro the mistake is I used lower case case (j ) in in name John but thank God I fixed it now and thank you guys for your help
27th Mar 2022, 9:50 PM
MR KINGSHOW
MR KINGSHOW - avatar
+ 1
👏👍
27th Mar 2022, 9:53 PM
Jayakrishna 🇮🇳