Question: using visaul studio c programming inside a do while loop ask user to enter two numbers (use a single scanf function). Inside the same loop

using visaul studio c programming inside a do while loop ask user to enter two numbers (use a single scanf function). Inside the same loop ask the user whether they wish to find the min or max of the values entered. If the user enters a 0 call the minFunction; if the user enters a 1 call the maxFunction; otherwise print Not valid input. Pass the two numbers entered as parameters to the functions. Inside minFunction and maxFunction calculate the minimun and the maximum values, respectively, and print. Break the loop when the user enters -999 -999 (values such as -999 are used as a sentinel to terminate a program)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!