这里是我的代码:如何解决语法错误在Eclipse Mars.1
import java.util.Scanner
class VersatileSnitSoft
public static void main (String [] args) {
double amount;
System.out.print (*What is the price of CD-ROM? *)
amount = myScanner.nextDouble();
amount = amount + 25.00;
System.out.print(*We will bill R*);
System.out.print(amount);
System.out.printIn(* to your credit card.*)
}
}
你究竟在哪里得到错误?代码示例中的哪些行。 – hotzst
为什么认为星星之间可以写一个字符串? – Tom