The method println(double) in the type PrintStream is not applicable for the arguments (String, double)
问题 Here is the code: import java.util.Scanner; public class MoviePrices { public static void main(String[] args) { Scanner user = new Scanner(System.in); double adult = 10.50; double child = 7.50; System.out.println("How many adult tickets?"); int fnum = user.nextInt(); double aprice = fnum * adult; System.out.println("The cost of your movie tickets before is ", aprice); } } I am very new to coding and this is a project of mine for school. I am trying to print the variable aprice within that