Write a working program in C++ for the following:
The state university charges $190.00 for each semester hour of
credit, $400 per semester for a regular double room, $550 per
semester for a single room, and $500 per semester for food. All
students are charged a $30 matriculation fee. Graduation students
must also pay a $35 diploma fee. Write a program to compute the
fees that must be paid by a student. Your program should include an
appropriate warning message if a student is taking more than 21
credit hours or fewer than 12 credit hours. A typical line of data
for one student would include a room type (R or S), student number
(four-digit integer), number of credit hours, and a graduating flag
(T or F)