摘要: #include <stdio.h> struct student{ int num; char name[40]; int computer, english, math; double average; }; int update_score(struct student *p, int n, 阅读全文
posted @ 2021-09-19 13:40 就是想学习 阅读(91) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> struct student{ int num; char name[40]; int computer, english, math; }; int main(void){ int i; struct student students[5] = { {1,"B 阅读全文
posted @ 2021-09-19 12:18 就是想学习 阅读(137) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> struct student{ int num; char name[40]; int computer, english, math; double average; }; int main(void){ int i, index, j ,n; struct 阅读全文
posted @ 2021-09-19 11:18 就是想学习 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 人的出生日期由年、月、日组成,请在例9-1中的学生信息结构中增加一个成员:出生日期,用嵌套定义的方式重新定义该结构类型 #include <stdio.h> struct birth{ int year, month, day; }; struct student{ int num; char na 阅读全文
posted @ 2021-09-19 11:01 就是想学习 阅读(179) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> struct complex_number{ int real; int imaginery; }; int main(void){ return 0; } 阅读全文
posted @ 2021-09-19 10:46 就是想学习 阅读(40) 评论(0) 推荐(0) 编辑