2. get num1 (the first number) 3. get num2 (the second number) 4. calculate the sum of the numbers sum = no1 + no2 5. Display sum
End
Task 3
Begin
1. Read no1, no2, max
2. get no1 (the first number) 3. get no2 (the second number) 4. if no1 bigger than no2 5. then max = no1 6. else 7. max = no2 8. end if 9. display “The highest value is ”
End Task 4
Begin
1. read no, cny
2. cnt = 0 3. get a value (no) 4. while cnt is smaller than no 5. display “Hello/n” 6. then cnt= cnt + 1 7. display value