Question: Program #3 (Id: 168765) Write a program that does the following: .Declare three integer variables in main0, called var1, var2, var3 Perform three function calls:

 Program #3 (Id: 168765) Write a program that does the following:

Program #3 (Id: 168765) Write a program that does the following: .Declare three integer variables in main0, called var1, var2, var3 Perform three function calls: o o o getValues- should ask the user for input for three integers doubleValues -Should double the values of three integers displayValues - Should display the value of three integers Note: Do not use global variables and do not use reference variables. Do not use pointers in main, they don't need to be pointers in the main function (you will need the address operator) Note: Use pointer variables only where needed. Hint: Since two of the functions need to change the values, two of the functions should use pointers. Use the function names as provided Sample Output: Enter an integer: 5 Enter an integer: 4 Enter an integer: 3 Thevalues doubled are: 10 8 6 Press any key to continue

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!