#include struct studentGame { char name[10]; char sname[10]; float score[10]; float perform[10]; }; float calculatenewScore(struct studentGame game) { float result=0.0; float max=0.0; float min=6.0; for(int i=0;i<10;i++) { if(game.score[i]>max) { max=game.score[i]; } else if(game.score[i]maks) { maks=constent[i].perform[i]; winner=i; } } printf("*** The Winner ***\n"); printf("Name : %s\nSurname : %s\nScore : %f\n",constent[winner].name,constent[winner].sname,maks); return 0; }