Write an algorithm to find the greatest among two different numbers entered by the user.
Answers
Answered by
9
Answer:Algorithm to find the greatest among two different numbers entered by the user.
Explanation:
Step 1: Start
Step 2: Declare variables a & b
Step 3: If a>b
Display a is the largest
Else
Display b is the largest
Step 4: Stop
Answered by
0
Answer:
INPUT num1, num2
IF num1 > num2 THEN
PRINT num1
ELSE IF num2 > num1 THEN
PRINT num2
END IF
Explanation:
Similar questions
Math,
4 months ago
Computer Science,
4 months ago
Computer Science,
9 months ago
Biology,
9 months ago
Math,
1 year ago
Physics,
1 year ago