简单简单简单的1130
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char p[100]; int s=0; gets(p); for(int i=0;p[i]!='\0……
1130: C语言训练 数字母 ctype快速计数
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#inc……
简单调用函数解决问题
摘要:参考代码:# include <stdio.h># include <string.h> //使用strlen()计算数组长度需添加此头文件void abc(char str[])……
C语言训练-数字母-简单方法
摘要:解题思路:通过判断(a[i]>='A'&&a[i]<='Z') || (a[i]>='a'&&a[i]<='z'),a[i]在范围内,……
简单易懂,对刚接触数组的小白非常友好
摘要:解题思路:运用一个数组一个循环变量进行数组遍历判定,用cut来记数,最后输出cut注意事项:注意英文字符的Ascall码值范围,数组下标不要越界。参考代码:#include<stdio.h>int m……