Question: C++ Page 16 Question 3: [15 marks Using ARRAYS write a program that asks the user to enter the height for three of his friends.

 C++ Page 16 Question 3: [15 marks Using ARRAYS write a

C++

Page 16 Question 3: [15 marks Using ARRAYS write a program that asks the user to enter the height for three of his friends. Then display the average height for them. Hint: (You have to create an array, and then store the heights the user enters into this array. The next step you need to read the values from the array and calculate the average). The output should be as in the screen bellow: Mark Enter the height of the first friend Enter the height of the second friend: Enter the height of the third friend The average height is: Marking scheme Part Document Compiler directives Program Stue Main Functie Comments Input Output Variable Declaration Formular 1 05 15 2 4 2

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!