HOW TO programm this problem either c++ or java
Problem – Design an algorithm to add two numbers and display the result
Answers
Answered by
0
Answer:
The algorithm to add two numbers.
- Declare variable ( Two variable to store the number input by the user and one variable is used to store the output).
- Take the input of two numbers.
- Apply the formula for addition.
- Add two numbers.
- Store the result in a variable.
- Print the result.
Similar questions