Read students details, calculate the grades of students and export those results to the external text document.
OUTPUT:
Student name: Anath ID: 1 Mid 1: 100 Mid 2: 90 HWs : 80 final: 95 Total: 93.5 Grade: A Student name: Balu ID: 2 Mid 1: 99 Mid 2: 100 HWs : 0 final: 0 Total: 49.75 Grade: F