2023年6月1日

实验六+实验五

摘要: 实验六 任务1 // P286例8.17 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 // 打印不及格学生信息和所有学生信息程分别调用 #include <stdio.h> #include<stdlib.h> #include <string.h> #define N 2 阅读全文

posted @ 2023-06-01 14:56 随客111 阅读(26) 评论(0) 推荐(0)

实验五

摘要: 实验任务1 源代码: 法一: #include <stdio.h> #include <stdlib.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; for (i = 0; i < N; ++i) printf( 阅读全文

posted @ 2023-06-01 14:53 随客111 阅读(12) 评论(0) 推荐(0)

实验六

摘要: 任务1 // P286例8.17 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 // 打印不及格学生信息和所有学生信息程分别调用 #include <stdio.h> #include<stdlib.h> #include <string.h> #define N 2 // 阅读全文

posted @ 2023-06-01 14:50 随客111 阅读(16) 评论(0) 推荐(0)

导航