Ok so i just started taking AP Computer Science at my high school and I really have no experience with java (just a little bit with python). So for our fist homework we had to try out a few codes and make some programs. I'm getting a " <identifier> expected error at "System.out.println("Enter firsr price ");". Please some help on how to fix it and dont laught at me for not being able to do such simple things, hey that's why I'm learning.
public class total
{public static input in = new input();
int A, B, C, D, F;
System.out.println("Enter firsr price ");
A = in.get.Int();
System.out.print("Enter second price");
B = in.get.Int();
System.out.print("Enter third price");
C = in.get.Int();
D = (A+B+C)*.06
F = A+B+C+D
System.out.print("Sales tax is"(D));
System.out.print("Total Cost is"(F));
}
}