You are viewing a single comment's thread. Return to all comments →
Here's Tee Simple C++ Solution :
using namespace std;
struct Student{ int age; string first_name; string last_name; int standard;
};
int main() { Student st;
cin >> st.age >> st.first_name >> st.last_name >> st.standard; cout << st.age << " " << st.first_name << " " << st.last_name << " " << st.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 →
Here's Tee Simple C++ Solution :
include
include
include
include
include
using namespace std;
struct Student{ int age; string first_name; string last_name; int standard;
};
int main() { Student st;
}