Detail Marks Certificate Program in C++

#include<iostream.h> #include<conio.h> #include<iomanip.h> void main() { struct res { char RegNo[15]; char name[15]; char Fname[15]; char adrs[20]; int marks[6]; }; res s[40]; int obMarks=0, total; for(int i=0; i<=39; i++) { cout<<“\n\n\n”<<setw(45)<<“DETAILED MARKS CERTIFICATE”<<endl<<endl; cout<<“\n\n\tStudent Name:\t”; cin>>s[i].name; cout<<“\n\tFather Name:\t”; cin>>s[i].Fname; cout<<“\n\tReg. …