import java.*;
import java.io.*;
import java.util.Scanner;

class Addition
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
System.out.print("Enter First Number : \n");
int n1 = sc.nextInt();
System.out.print("Enter Second Number : \n");
int n2 = sc.nextInt();

int result = n1 + n2;
System.out.print("Addition is : "+result);

}
}
OUTPUT

Enter First Number : 10
Enter Second Number : 20
Addition is : 30

See How to Implement This Program :
please Subscribed this tutorial to : Click here

Leave a Reply

Subscribe to Posts | Subscribe to Comments

All Notes on BCA

All Notes  on BCA
BCA all subjects notes

Total Pageviews

Translate

Powered by Blogger.

Copyright © All Notes on BCA