From bc93e0313c88fe468783dd4f899ab832f51d9c5e Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sun, 2 Aug 2020 11:30:13 +0700 Subject: [PATCH] Add student tag inside --- work1/single.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/work1/single.c b/work1/single.c index 4f98a42..f71328e 100644 --- a/work1/single.c +++ b/work1/single.c @@ -13,6 +13,12 @@ struct course_tag { float avg; }; +struct student_tag { + struct person_tag student_info; + struct course_tag course_info; + struct student_tag *next; +} + void display_students(void); void search_student(void); void find_maximum(void);