Write a C++ program that will accept the marks in a test for a group of 5 students

for i=1 to 5

prompt for marks
read marks[i]
next i