Write a C++ program to get 5 subjects marks of a student and then calculate its total, average and percentage and display them on the screen.