write a program to input two numbers and calculate their differences
Answers
Answered by
1
Answer:
In this program, user is asked to enter two integers. These two integers are stored in variables firstNumber and secondNumber respectively. Then, the variables firstNumber and secondNumber are added using + operator and stored in sumOfTwoNumbers variable. Finally, sumOfTwoNumbers is displayed on the screen.
Similar questions
Science,
2 months ago
English,
2 months ago
Hindi,
2 months ago
Accountancy,
5 months ago
Biology,
11 months ago