#1. A grade II student is assigned to compute the sum of the two numbers.
Algorithm:
- assign number1 as the num1
- assign number 2 as the num2
- calculate the two number by
- adding num1 and num2
- read and display the sum
#2. The teacher wants to compute the average grade of the students on their three long exams.
#3. Macky wants to determine the largest number of the two numbers.
- assign number1 as the num1
- assign number2 as the num2; if num1 is greater than num2; read and display num1
- if num1 is greater than num2; read and display num1