In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article to share with you is about C language how to achieve student management system content. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.
specific contents are as follows
Design a student management system, basic functions include:
1. Enter basic student information
2. Enquire student information (1. By student number 2. By name)
3. Delete student information (1. by student number 2. by name)
4. Sorted by student information (1. by student number 2. by name)
5. Modify basic student information
6. Output student information
7. Save student information
0. exit the program
Note: Due to limited knowledge, the system temporarily stipulates that only 3 students 'data can be input, and will be improved to randomly process the data of any number of students in the future.
I. Home Page
void enter(struct student stu[],int n){ int select; while(select!= 0) { printf("\t\t\t ---------------------------\n"); printf("\n"); printf("\t\t\t Welcome to the Student Status Management System\n"); printf("\n"); printf("\t\t\t ---------------------------\n"); printf("\t\t\t 1. Enter basic student information\n"); printf("\t\t\t 2. Query student information (1. By student number 2. By name)\n"); printf("\t\t\t 3. Delete student information (1. by student number 2. by name)\n"); printf("\t\t\t 4. Sort student information (1. by student number 2. by name)\n"); printf("\t\t\t 5. Modify student basic information\n"); printf("\t\t\t 6. Output student information\n"); printf("\t\t\t 7. Save Student Information\n"); printf("\t\t\t 0. exit program\n"); printf("\t\t\tPlease enter your options"); scanf("%d",&select); system("cls"); switch(select) { case 1:input(stu,n);break; case 2:seek(stu,n);break; case 3:delect(stu,n);break; case 4:sort(stu,n);break; case 5:revise(stu,n);break; case 6:output(stu,n);break; case 7:keep(stu,n);break; case 0:printf("\t\t\tYou have logged out of the Student Status Management System\n");break; default:printf("input error\n"); system("pause"); system("cls"); } }}
II. Input
int count=0; //void input(struct student stu[],int n){ int i; if(count!= 0) count=0; printf("\t\t\t-------------------------------\n"); printf("\n"); printf("\t\t\t Welcome to Student Information Entry System\n"); printf("\n"); printf("\t\t\t-------------------------------\n"); printf("\t\tPlease enter basic information of students (student number, name, age, gender (female w, male m))\n"); for(i=0;i
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.