Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void dodajstudenta(struct student* lista)
- {
- struct student* nowa = malloc(sizeof(st));
- printf("\t Nazwisko: ");
- scanf("%s", &nowa->nazwisko);
- printf("\t Imie: ");
- scanf("%s", &nowa->imie);
- printf("\t Indeks: ");
- scanf("%d", &(nowa->indeks));
- nowa->ocena = 0;
- printf("\t Wiek: ");
- scanf("%d", &nowa->wiek);
- dodaj(lista, nowa);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement