Question: Declare variables, int choice; float Num 1 , Num 2 , Add, Sub, Mul, Div. 2 . Ask the user to key in Num 1
Declare variables, int choice; float Num Num Add, Sub, Mul, Div.
Ask the user to key in Num and Num Read Num and Num
Ask the user to key in the choice : Add, : Sub, : Mul, : Div Read choice.
if choice
Calculate Add Num Num
Display Add.
else if choice
Calculate Sub Num Num
Display Sub.
else if choice
Calculate Mul Num x Num
Display Mul.
else if choice
Calculate Div Num Num
Display Div.
End main
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
