Question: Exercise 4: Write an algorithm that requires input 5 numbers, it will show the result of the addition if all 5 numbers are positive numbers
Exercise 4: Write an algorithm that requires input 5 numbers, it will show the result of the addition if all 5 numbers are positive numbers else show an error message. Solution 4 : Algorithm name: Compare_Values4 Variables Num1, Num2, Num3, Num4, Num5, ResultAddition as Numbers START WRITE ''Input Ist number: READ Num1 WRITE'Input 2nd number: READ Num2 WRITE ''Input 3rd number: READ Num3 WRITE 'Input 4th number: READ Num4 WRITE "Input 5th number: READ Num5 ... END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
