#include #include #include typedef struct student{ char ime[100]; int ocena; } STUDENT; int main(){ int n,i,j; int trenutna_ocena; char trenutno_ime[100]; STUDENT *s; int zbir_oc=0; int br_oc=0; int br_stud=0; float pr_oc; printf("Unesi broj studenata:\n"); scanf("%d",&n); s=(STUDENT*)malloc(sizeof(STUDENT)*n); if(s==NULL) exit(EXIT_FAILURE); for(i=0; i