Write a Pseudocode to calculate the total fee amount to be collected from a student.

Refer the table below for fee details.(5 Marks)Student TypeStudent Type denoted ee DetailsMerit Seat Day ScholarMSDSTuition fee + Bus feeMerit Seat HostellerMSHTuition fee + Hostel feeManagement Seat Day ScholarMGSDS150% of Tuition fee + Bus feeManagement Seat HostellerMGSH150% of Tuition fee + Hostel fee

Sure! Here's a pseudocode to calculate the total fee amount to be collected from a student based on the provided fee details:

1. Start
2. Input student type (MSD, MSH, MGSDS, MGSH)
3. Input tuition fee
4. Initialize total fee as 0
5. If student type is MSDSThen
6. Input bus fee
7. Add tuition fee and bus fee to total fee
8. Else if student type is MSHThen
9. Input hostel fee
10. Add tuition fee and hostel fee to total fee
11. Else if student type is MGSDSThen
12. Input bus fee
13. Calculate 150% of tuition fee as management_tuition_fee = 1.5 * tuition fee
14. Add management_tuition_fee and bus fee to total fee
15. Else if student type is MGSHThen
16. Input hostel fee
17. Calculate 150% of tuition fee as management_tuition_fee = 1.5 * tuition fee
18. Add management_tuition_fee and hostel fee to total fee
19. End if-else conditions
20. Output total fee
21. Stop

This pseudocode takes input for the student type and tuition fee. Based on the student type, it calculates the total fee by adding the respective fee components (bus fee, hostel fee, tuition fee) according to the provided fee details. The calculated total fee is then outputted.