This document outlines a program that reads two numbers, performs the basic arithmetic operations of addition, subtraction, multiplication, and division on those numbers, and displays the result of the operation selected by the user from a menu of options presented. The program calculates the sum, difference, product, and quotient of the two numbers and displays the corresponding result when the +, -, *, or / key is pressed.
This document outlines a program that reads two numbers, performs the basic arithmetic operations of addition, subtraction, multiplication, and division on those numbers, and displays the result of the operation selected by the user from a menu of options presented. The program calculates the sum, difference, product, and quotient of the two numbers and displays the corresponding result when the +, -, *, or / key is pressed.
This document outlines a program that reads two numbers, performs the basic arithmetic operations of addition, subtraction, multiplication, and division on those numbers, and displays the result of the operation selected by the user from a menu of options presented. The program calculates the sum, difference, product, and quotient of the two numbers and displays the corresponding result when the +, -, *, or / key is pressed.
C=A+B D=A-B E=A*B F=A/B SHOW “PRESS + FOR ADDITION , - FOR SUBTRACTION , * FOR MULTIPLICATION , / FOR DIVISION “ IF + THEN SHOW C ELSE SHOW “PRESS + FOR ADDITION , - FOR SUBTRACTION , * FOR MULTIPLICATION , / FOR DIVISION” IF – THEN SHOW D ELSE SHOW “PRESS + FOR ADDITION , - FOR SUBTRACTION , * FOR MULTIPLICATION , / FOR DIVISION “ IF * THEN SHOW E ELSE SHOW “PRESS + FOR ADDITION , - FOR SUBTRACTION , * FOR MULTIPLICATION , / FOR DIVISION “ IF / THEN SHOW F ELSE ELSE SHOW “PRESS + FOR ADDITION , - FOR SUBTRACTION , * FOR MULTIPLICATION , / FOR DIVISION “ END