Write a program based on the requirements given below using c++ command.
a. Get five floating point numbers from the user in main() and store the numbers
in an array called Mark.(use do while loop)
b. Call function display(...)in main() and send array Mark.
c. Display the number and total mark in function display(...)using for loop.
Below is display..
Enter Mark : 10
Enter Mark : 20
Enter Mark : 30
Enter Mark : 40
Enter Mark : 50
Break your program into small pieces. Figure out how to do each piece separately.
Part (a) says get five floating points from the user and store them in an array. Let's break that down even more. Do you know how to get a single floating-point number from the user?
If not, read http://www.cplusplus.com/doc/tutorial/basic_io/ and go down to the Standard Input section.