+ 1
Help me what's wrong
public class Program { public static void main(String[] args) { //fix the variable types String name = "Toyota"; double engine = 4.7; int year = 2019; System.out.println("Name:"+""+ name); System.out.println("Engine:"+""+ engine); System.out.println("Year:"+""+ year); } }
4 Respostas
+ 2
Your code looks OK and it runs, I tested. What is wrong? What is your question?
+ 2
Oh ya now it worked!! thank you
+ 1
Idk it's not working it's in the vehicle passport section, showing try again?
+ 1
Observe the expected output of the task carefully.
I think you will need to add a whitespace after each colon : inside the strings.