Advertisement
Josif_tepe

Untitled

Feb 19th, 2025
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct Student {
  5.     int godini;
  6.     float prosek;
  7.     int dali_ima_polozheno_poveke_od_5_ispiti;
  8.    
  9. };
  10.  
  11. int main()
  12. {
  13.    
  14.     Student s;
  15.    
  16.     cin >> s.godini >> s.prosek >> s.dali_ima_polozheno_poveke_od_5_ispiti;
  17.    
  18.     cout << s.godini << " " << s.prosek << " " << s.dali_ima_polozheno_poveke_od_5_ispiti << endl;
  19.    
  20.    
  21.     return 0;
  22. }
  23.  
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement