将非字母删除,并输出剩下的==只输出字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[80]; scanf("%s",s); for(int i=0…… 题解列表 2023年03月11日 0 点赞 0 评论 210 浏览 评分:9.9
java--study||O.o 摘要:参考代码: import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2024年01月30日 0 点赞 0 评论 315 浏览 评分:9.9
1113: C语言考试练习题_保留字母-字符串 摘要:解题思路:输入字符串遍历:如果符合要求,输出结束注意事项:string从0计数参考代码:#include<iostream> using namespace std; int main() { …… 题解列表 2024年03月09日 0 点赞 0 评论 122 浏览 评分:9.9
多种方法,总有一种你没有见过(c语言代码) 摘要:##1)常规解法 输入字符串,获取长度,再逐个判断 ```c #include #include int main(){ char s[80]; gets(s); …… 题解列表 2024年08月08日 0 点赞 0 评论 241 浏览 评分:9.9
1113: C语言考试练习题_保留字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ char a[100]; gets(a); int l=strlen(a…… 题解列表 2024年03月14日 0 点赞 0 评论 206 浏览 评分:10.0