⑴输入10个职工的姓名和职工号;⑵按职工号由小到大排序,姓名顺序也随之调整;⑶要求输入一个职工号,查找法找出该职工的姓名。从主函数输入要查找的职工号,输出该职工姓名

  1 #include<stdio.h>   2 #include<stdlib.h>   3 #include<string.h>   4    5 #define len sizeof(struct student)   6 #define n 3   7    8 struct student   9 {  10     char name[20];  11     int num;  1
相关文章
相关标签/搜索
本站公众号
   欢迎关注本站公众号,获取更多信息
相关文章