Create a function and pass array into definition of function


Problem

Flowchart for a program that does the following:

i. Declare an array that will store 9 values
ii. Use a for() statement to store user entered scores for all 9- holes
iii. Create a function and pass the array into the definition of the function to compute the total
iv. Use an accumulating total statement to compute the total score
v. Use another for() statement to display each hole stored in the array element
vi. Display the overall total to the output screen so that the golfer can see if he won.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Create a function and pass array into definition of function
Reference No:- TGS03311564

Expected delivery within 24 Hours