You are viewing a single comment's thread. Return to all comments →
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; struct Student{ int age; string first_name; string last_name; int standard; }; int main() { Student student; cin >> student.age >> student.first_name >> student.last_name >> student.standard; cout << student.age << " " << student.first_name << " " << student.last_name << " " << student.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 →