MyProgrammingLab Week 7 Chapter 16 70047
MyProgrammingLab
Week 7
Chapter 16
70047
The answer I get when I use Visual
Studio, is not the same answer this lab is looking for. I need to see how the answer needs to be formatted for myprogramminglab.
I am trying to figure out how the answers need to be formatted for these types of problems. templates for the two functions minimum and maximum. The minimum function should accept two arguments and return the value of the argument that is the lesser of the two. The maximum function should accept two arguments and return the value of the argument that is the greater of the two.
Test your functions in a main program that propmts the user to choose what type of data they would like to compare (ints, doubles, or strings). Then, it should ask the user to enter two arguments, as well as whether they would like to know the minimum or the maximum. Then, it should print the minimum or maximum of the two arguments