Computer Science, asked by jacobmckay2020, 9 months ago

Here is an algorithm that has been part written by me. It is designed to act a bit like a calculator. I have provided you with the basis of the algorithm. You need to complete the sections which have ‘???’…

Ask the user to input num1
Ask the user to input num2
Ask the user what type of calculation they want to do (+, -, /, *)
If user selects + then
answer = num1 + num2
Else If user selects – then
answer = num1 – num 2
Else If

Else If 2 or 1
???
Else
Display you have entered an invalid type of calculation
End If

Answers

Answered by harshbijaysingh1234
1

Answer:

Value returning functions are used when only one result is returned and that ... call the function in a cout sending expressions as arguments ... This program would be more useful if we allowed the user to enter the.

Explanation:

plzz follow my channel and mark the branlistest

Similar questions