View Code of Problem 1

public class Main{
  pulbic static void main(String[] argv){
      Scanner in = new Scanner(System.in);
        int line1 = in.nextInt(); 
        int line2 = in.nextInt();
        System.out.println(line1+line2);
  }
}
/*
Main.java:2: error: <identifier> expected
  pulbic static void main(String[] argv){
        ^
1 error
*/

Double click to view unformatted code.


Back to problem 1