Question: Design an algorithm that will read two integers and an integer code from the input/user. The value of the integer code should be 1,2 or
Design an algorithm that will read two integers and an integer code from the input/user. The value of the integer code should be 1,2 or 3. The table below specifies the process/ action to be taken based on the integer code. The algorithm then displays the computed result. Integer code Tasks/ Actions to be taken 1 -Compute the sum of two numbers 2- Compute the difference of the two numbers (First number Second number) 3 - Compute the product of the two numbers Other Display Message
a) Create an IPO chart/Algorithm b) Draw a flowchart
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
