OK, from what you've said, I don't think you are required to set up a data structure. Try setting out in pseudocode what you need to do:
take the number of students and set up a loop that will loop...
Type: Posts; User: ytrewq
OK, from what you've said, I don't think you are required to set up a data structure. Try setting out in pseudocode what you need to do:
take the number of students and set up a loop that will loop...
Ah, thank you, I had assumed that it was the same in every C program.
Funny, I swear earlier it was 2-byte...
I think it is your teacher who is making you do the work for them to calculate your classes grades :P
Really if they are setting you this sort of work you should have covered the basic aspects in...
qq: Is getch() just a shortened version of getchar()?
edit: i realised i could just find out myself... no it isn't
Very simple solution, I guess, (I am new to C) but when I use this:
#include <stdio.h>
main()
{
printf("Size of int data type: %d", sizeof(int));
return 0;