Computer Science

Write a pseudocode that reads two numbers and divide one by another and display the quotient.

Algo & Flowcharts

3 Likes

Answer

Step 1: INPUT num1
Step 2: INPUT num2
Step 3: IF num2 == 0 THEN
    Step 4: PRINT "Error: Division by zero is not allowed."
ELSE
    Step 5: COMPUTE quotient = num1 / num2
    Step 6: PRINT quotient

Answered By

1 Like


Related Questions