package javaapplication1; import java.util.Scanner; public class Scan { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int = a, b; System.out.print("A = "); a = scan.nextInt(); System.out.print("B = "); b = scan.nextInt(); System.out.print(a + " + " + b + " = " + (a + b)); } }
When programme works, I want describe the "A" and "B", and programme should give me result of "A+B" but It says "Can not find symbol" at "int = a, b;" 's next to.
...
Sorry for my bad English : D