Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- /// daden e broj N sto oznacuva brojot na studenti. Sakame da gi ispecatime site studenti. Sekoj student ime ime, prezime, broj na indeks i prosek
- struct student { // student e ime na strukturata
- string ime;
- string prezime;
- int broj_na_indeks;
- double prosek;
- };
- int main()
- {
- student S;
- cin >> S.ime >> S.prezime >> S.broj_na_indeks >> S.prosek;
- cout << S.ime << " " << S.prezime << " " << S.broj_na_indeks << " " << S.prosek << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment