Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- class JavaApplication1 {
- public static void main(String[] args) {
- int t, n, m, i;
- Scanner input=new Scanner(System.in);
- t=input.nextInt();
- n=input.nextInt();
- m=t+n;
- System.out.println("Summation of "+t+" and "+n+" is: "+m);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement