I have this structure:
How to write a functions which calculate and print on screen one list with the member, who are for 10, 20, 30... years member into one club.Code:typedef struct member { struct member *next; int membernr; char name1[50]; char name2[50]; int year; ...etc }
something like that
name1_x name2_x 30 years
name1_y name2_y 20 years
the function void name(void) {int year=2008}
thanks.