Question: 1 . [ 1 0 points ] Write a function that finds the largest of three integers using pass - by - reference and return

1.[10 points] Write a function that finds the largest of three integers using pass-by-reference and return-by-reference. Your design can use the function we wrote to find the larger between two integers. Test your function in a program using the main function below. Name the program lab31.
int main ()
{
// Declaration and initialization of three integers
int num1, num2, num3 ;
cout<<"Input three numbers:"<>num1>>num2>>num3;
// Finding and printing the largest integers
cout << "Largest of the three integers is: ";
cout << largest (____,______,_____); //You need to fill in the blanks
return 0;
}

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!