Untitled Note

By: Anonymous4/24/20222 views Public Note
#include using namespace std; class first_sem{ public: int first_sem_marks[5]; void get_first_sem_data(){ cout<<"\nEnter the marks of 5 subjects in first sem: "; for(int i=0;i<5;i ){ cin>>first_sem_marks[i]; } } void display_first_sem(){ cout<<"\nMarks in First Sem: "; for(int i=0;i<5;i ) { cout<>second_sem_marks[i]; } } void display_second_sem(){ cout<<"\nMarks in Second Sem: "; for(int i=0;i<5;i ) { cout<>third_sem_marks[i]; } } void display_third_sem(){ cout<<"\nMarks in Third Sem: "; for(int i=0;i<5;i ) { cout<>register_number; cout<<"\nEnter the Name: "; cin>>name; get_first_sem_data(); get_second_sem_data(); get_third_sem_data(); } void display_data_student(){ cout<<"\nName: "<

Want to create your own notes?

Join thousands of users writing securely on ProNotepad.