predict the output:
import java.util.*;

public class first {
public static void main(String arg[]) {
int num1, num2, sum;
Scanner a = new Scanner(System.in);

System.out.println("enter the numbers");
num1 = a.nextInt();
num2 = a.nextInt();
sum = num1 + num2;
System.out.println(sum);

}

}


Posted on by