Question: Exercise 2: Write an algorithm that requires input two numbers, and if the result of addition is equal to the result of multiplication, display the

 Exercise 2: Write an algorithm that requires input two numbers, and

Exercise 2: Write an algorithm that requires input two numbers, and if the result of addition is equal to the result of multiplication, display the values of those two numbers, else display a message. Solution 2 : Algorithm name: Compare_Values2 Variables Num1, Num2, ResAdd, ResMul as Numbers START WRITE'Input a number: READ Num1 WRITE 'Input another number: READ Num2 ResAdd := ResMul := WRITE "?" END

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!