In this program user is asked to enter two integers and the sum operation is performed.

Source code:


C:\Users\Desktop\new>javac  Add.javaC:\Users\Desktop\new>java Add

*** ***

<< Addition of two numbers without using Third Variable >>

Enter first number to be added:
Enter Second number to be added:
The sum of two numbers is 15

Screenshot of output:

Screenshot of output

Leave a Reply

Your email address will not be published. Required fields are marked *