摘要: 1.求第一门课程的平均分 2.找出有两门以上不及格的学生 3.找出平均分在90分以上或全部课程在85分以上的学生 #include<stdio.h> #include<math.h> #include<string.h> #define M 4 #define N 5 void Average(in 阅读全文
posted @ 2024-05-20 16:08 zhongta 阅读(19) 评论(0) 推荐(0)
摘要: 用指针数组实现排列字符串 #include<stdio.h> #include<math.h> #include<string.h> #define N 5 void OrderString(char *p[],int n); int main(){ char *arr[10]={"Hello"," 阅读全文
posted @ 2024-05-20 15:19 zhongta 阅读(11) 评论(0) 推荐(0)