Question: I am just lost for this problem, I have done ones similar, but when I do it it doesn't come out right P3.2 Largest and
I am just lost for this problem, I have done ones similar, but when I do it it doesn't come out right 
P3.2 Largest and smallest: Write a program that contains a main function and a second function named largest_and_Smallest. The main() function prompts the user to enter four different integers and then calls and passes the four values to the second function. The called function determines and returns the largest and the smallest of the four values to the calling main() function where the results are displayed. Your program output should be similar to the sample output shown below. Note: This program helps you understand the inner workings of parameter passing mechanism during a function call. It also enables you to distinguish the difference between value and reference parameters. Before you start writing code for the second function, you need to determine how many parameters the second function should have. You then determine whether these parameters must be reference or value parameters or they could be either type. EN Microsoft Visual Studio Debug Console Enter four difference integer values: 15 62 77 9 In the list of integers 15, 62, 77, and 9 The largest is 77 and the smallest is 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
