Write an algoruthem to add two number
Answers
Answered by
4
Examples Of Algorithms In Programming
Algorithm to add two numbers entered by the user Step 1: Start Step 2: Declare variables num1, num2 and sum. ...
Find the largest number among three different numbers Step 1: Start Step 2: Declare variables a,b and c. ...
Factorial of a number entered by the user
Answered by
2
Explanation:
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.
Hit the ❤
Similar questions