Question: Write a program to fill an array with six test scores, add 10 points to each score and display the revised score. Do not use
Write a program to fill an array with six test scores, add 10 points to each score and display the revised score. Do not use a function. Just write it all in main( );
Once you have accomplished that go back and put the calculation in a function. main() will prompt for and accept a value, pass the value to the function, but instead of returning the value with a return statement, try it with a call by reference (or a reference variable that refers to the memory location of the original value.) main() will display the result.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
