摘要: 1 /*通讯录排序*/ 2 #include 3 struct birthday { 4 int year,mooth,day; 5 }; 6 struct student { 7 int tel; 8 char name[20]; 9 struct birthday birth; 10 11 }; 12 13 int main(void) 14 {struct stude... 阅读全文
posted @ 2019-06-25 18:19 尹文萃 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 struct birthday { 3 int year,mooth,day; 4 }; 5 struct student { 6 int tel; 7 char name[20]; 8 struct birthday birth; 9 10 }; 11 12 int main(void) 13 {struct student a[20]; 14... 阅读全文
posted @ 2019-06-25 18:15 尹文萃 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 1 /*拆分实数的整数与小数部分*/ 2 #include 3 void splitfloat(float x,int *intpart,float *fracpart); 4 int main(void) 5 { 6 int intpart; 7 float x,fracpart; 8 9 printf("input a number:"); 10 ... 阅读全文
posted @ 2019-06-19 19:49 尹文萃 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 心得: 熟悉了二维数组 阅读全文
posted @ 2019-06-11 21:45 尹文萃 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 心得: 通过本次编程对数组有了更进一步了解 阅读全文
posted @ 2019-06-10 21:14 尹文萃 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 心得: 1)起初子函数的返回出现问题 2)逆序数的算法出现错误和多处其他错误 3)通过对函数的定义更多的了解和掌握,对错误进行了分析并加以改正 阅读全文
posted @ 2019-05-28 20:15 尹文萃 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 心得: 1)学会了如何运用函数的调用 2) 通过循环嵌套实现,用函数实现素数的判断 阅读全文
posted @ 2019-05-06 13:27 尹文萃 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 心得: 1)掌握循环结构程序的调试方法 2)熟练掌握do-while语句的实现 阅读全文
posted @ 2019-04-15 21:37 尹文萃 阅读(145) 评论(1) 推荐(1) 编辑
摘要: 心得:首先要认真反复读题目; 其次画流程图; 接着编写程序并且认真检查,一句可执行语句结束时要加分号; 最后,反复多次检验结果。 阅读全文
posted @ 2019-04-10 13:07 尹文萃 阅读(126) 评论(1) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-04-01 22:40 尹文萃 阅读(125) 评论(1) 推荐(0) 编辑