You are viewing a single comment's thread. Return to all comments →
struct student{ int age; string first_name; string last_name; int standard; };
int main() { student stu;
cin >> stu.age >> stu.first_name >> stu.last_name >> stu.standard; cout << stu.age << " " << stu.first_name << " " << stu.last_name << " " << stu.standard; return 0;
}
Seems like cookies are disabled on this browser, please enable them to open this website
Structs
You are viewing a single comment's thread. Return to all comments →
struct student{ int age; string first_name; string last_name; int standard; };
int main() { student stu;
}