My programm wont let me input all the data I need. And when I try to display them it won't even use the data that I could input. Please help me and sorry for my bad English it is not my native language, that's why all the data is in Slovene. Thanks for any help that I will get.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct student
char vpisna_st[8];
char ime[20];
char priimek[20];
int starost;
}stud;
int main()
{
struct student stud;
printf("Vnesite vase podatke. \n");
printf("Vpisna stevilka: ");
scanf("%c",&stud.vpisna_st);
printf("Ime: ");
scanf("%c",&stud.ime);
printf("Priimek: ");
scanf("%c",&stud.priimek);
printf("Starost: ");
scanf("%d",&stud.starost);
printf("Student je:\n vpisna st: %c, \n ime: %c, \n priimek: %c, \n starost: %d \n", stud.vpisna_st,stud.ime,stud.priimek,stud.starost);
system("PAUSE");
return 0;
}{