Design an algorithm that will read two numbers and an


a defining diagram

-a pseudocode algorithm

The question is:

Design an algorithm that will read two numbers and an integercode from the screen. The value of the integer code should be 1,2,3or 4. If the value of the code is 1, compute the sum of the twonumbers. If the code is 2, compute the difference (first minussecond). If the code is 3, compute the product of the two numbers.if the code is 4, and the second number is not zero, compute thequotient (first divided by second). If the code is not equal to1,2,3,4, display an error message. The program is then to displaythe two numbers, the integer code and the computed result to thescreen.

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Design an algorithm that will read two numbers and an
Reference No:- TGS0605550

Expected delivery within 24 Hours