The aim of the code is to calculate the percentage of the student mark until the student enters N (when asked if there are anymore marks to calculate).
int mark, pmark;
reply = 'Y';
while (reply != 'N')
printf("What is your mark out of ten? \n");
pmark = mark * 10;
printf("Your percentage mark is %d\n", pmark);
printf("Any more marks to calculate? \n");
but instead it just loops and keeps asking for the student's mark.
Anyone able to help?