Lets Code ittt
03/08/2023
using namespace std;
class StudentResultSheet {
string name;
int id;
int marks;
public:
StudentResultSheet() {
name = "";
id = 0;
marks = 0;
}
void read() {
cout id;
cout > marks;
cin.ignore(); // to clear the newline character from the input buffer
}
string get_name() {
return name;
}
int get_id() {
return id;
}
int get_marks() {
return marks;
}
};
int main() {
StudentResultSheet students[10];
for (int i = 0; i < 10; i++) {
cout
Want your school to be the top-listed School/college in Lahore?
Click here to claim your Sponsored Listing.
Click here to claim your Sponsored Listing.
Category
Address
Lahore