typedef struct
{
char regnum[4];
int cred;
char fname[20],sname[20];
float cost [75];
float fee [95];
Type: Posts; User: katal
typedef struct
{
char regnum[4];
int cred;
char fname[20],sname[20];
float cost [75];
float fee [95];
ok, i thought about what you said, I changed the scanf to a gets and took out the **** like the 2 %c's and the &dummy but it still not working, I hate xmas holidays, mademe orget about what i had...
I'm having a prob with the input of this program.
printf("Enter registration number ");
scanf("%c%c",&studdetails[i].regnum,&dummy);
printf("Enter surname ");
gets(studdetails[i].sname);...
I actually need help with the whole program!!!
I have a problem with a program I have to do for college, its a student registration program, I have to enter A student registration number (4 chars ie x123) then a forename and a surname. you then...