Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- class Student {
- public:
- char ime[50];
- int godini;
- double prosek;
- };
- int main() {
- Student s;
- cin >> s.ime >> s.godini >> s.prosek;
- cout << s.ime << " " << s.godini << " " << s.prosek << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement