#include #include int main() { clrscr(); ofstream fout("student.txt"); //connect student file to output stream char name[30],ch; float marks=0.0; //loop to get 5 records for(int i=0;i<5;i++) { cout<<"Student"<<(i+1)<<":\tName:"; cin.get(name,30); cout<<"\t\tMarks: "; cin>>marks; cin.get(ch); //to empty input buffer //write to file fout<>marks; fin.get(ch); cout<<"Student Name : "<