容易理解的C语言代码
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
#include <string.h>
void fun(char a[])
{
for (int i = 0;……
大、小写问题 3行代码解决
摘要: public class 大小写问题 {
public static void main(String[] args) {
Scanner sc = new Scan……
改学python吧!!!
摘要:`````python
#1124 大小写问题
st = input()
print(st.lower())
`````
//凑字数、凑字数、凑字数、凑字数、凑字数、凑字数:kissin……
C语言训练-大、小写问题-题解(C语言代码)
摘要:#include<stdio.h>
#include<string.h>
int main()
{
char str[100];
int i,k;//变量的定义
gets(str)……
C语言训练-大、小写问题-题解(C语言代码)
摘要:解题思路:
注意事项:读入用gets可以读入空格,cin遇到回车或者空格就结束了。
参考代码:
```cpp
#include
using namespace std;
ch……
C语言训练-大、小写问题-题解(C语言代码)
摘要:解题思路:和基础题没有啥区别,if判断就好注意事项:注意要求是以回车为结尾,所以我用gets参考代码:#include<stdio.h>#include<string.h> int main() { ……
C语言训练-大、小写问题-题解(C语言代码)(一维数组)
摘要:需要用到strlen,头文件为string.h
```c
#include
#include//用到关键字strlen
int main()
{
char arr[100];//字……
C语言训练-大、小写问题-题解(Java代码)
摘要:解题思路:注意事项:参考代码: Scanner sc=new Scanner(System.in); String s=sc.nextLine(); char[] arr=……