摘要: #include<stdio.h>//求最大值的函数int highest(int m[3][4])//形式参数是二维数组{ int i,j; int a=m[0][0];//认为第一个数是最大值 for(i=0;i<3;i++)//外层循环控制行 { for(j=0;j<4;j++)//内层循环控 阅读全文
posted @ 2022-03-31 22:45 CC9898 阅读(415) 评论(0) 推荐(0)
摘要: #include <stdio.h>int main(){int upper=0,lower=0,digit=0,space=0,other=0,i=0;char *p,s[80];printf("请输入一串字符,包括大写字母、小写字母、数字、空格和其他字符,不超过80个:\n");while (( 阅读全文
posted @ 2022-03-31 22:41 CC9898 阅读(1267) 评论(0) 推荐(0)