Computer Science, asked by alfiekryssaclera, 1 day ago

HOW TO programm this problem either c++ or java


Problem – Design an algorithm to add two numbers and display the result

Answers

Answered by pcplionelmessi
0

Answer:

The algorithm to add two numbers.

  1. Declare variable ( Two variable to store the number input by the user and one variable is used to store the output).
  2. Take the input of two numbers.
  3. Apply the formula for addition.
  4. Add two numbers.
  5. Store the result in a variable.
  6. Print the result.

Similar questions