URI Problem 1001 Solution in Java

Problem Details Link

Solution:


import java.util.Scanner;

/**
 *
 * @author ParveZ
 */
public class Uri1001 {
    public static void main(String []args){
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        int X = A+B;
        System.out.println("X = "+X);
    }
}


Comments

Popular posts from this blog

URI Problem 1094 Solution in Java

URI Problem 1099 Solution in Java

URI Problem 1012 Solution in Java