大小写转换-题解(C++代码)
摘要:```cpp
#include
#include
#include
using namespace std;
int main(){
char a[80];
whi……
大小写转换 (C语言代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]; int i; while(g……
1204: 大小写转换
摘要:#include<bits/stdc++.h>
using namespace std;
int main(){
string s;
while(getline(cin,s……
编写题解 1204: 大小写转换
摘要:解题思路:注意事项:参考代码:while True:
try:
a=input()
for i in a:
编写题解 1204: 大小写转换
摘要:解题思路:注意事项:参考代码:#include<iostream>#include <iomanip>#include<ctype.h>using namespace std;int main(){ ……
题解 大小写转换 简单易懂
摘要:解题思路:
1.利用while函数输入字符串s
2.当输入的字符串为 End of file 跳出循环
3.用islower函数用于判断字符是否为小写字母(a-z)
4.int toupper……