编写题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;void copy(string a){ for(int…… 题解列表 2022年03月01日 0 点赞 0 评论 116 浏览 评分:0.0
编写题解 1033: [编程入门]自定义函数之字符提取--判断是否在另一个字符数组中存在 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void strCat(char str1[],char str2[]){ for(int i…… 题解列表 2022年03月08日 0 点赞 0 评论 137 浏览 评分:0.0
自定义函数之字符提取(入门版) 摘要:参考代码:import java.util.Scanner;//写一函数,将一个字符串中的元音字母复制到另一个字符串,然后输出。public class Strtiqu { public sta…… 题解列表 2022年03月25日 0 点赞 0 评论 293 浏览 评分:0.0
[编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:n = input(str())l = 'aeiou'for i in n[::]: if i in l: print(i,end =…… 题解列表 2022年04月07日 0 点赞 0 评论 165 浏览 评分:0.0
定义函数来求解题目 摘要:解题思路:定义一个空字符串来接收元音字母,再用if……in判断输入的字符串是否有元音字母注意事项:参考代码:def word(a): b='' for i in a: …… 题解列表 2022年04月26日 0 点赞 0 评论 374 浏览 评分:0.0
题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:使用switch函数注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; int i,j; gets(a…… 题解列表 2022年04月29日 0 点赞 0 评论 124 浏览 评分:0.0
编写题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:def yuanyin(str): lis = ["a","e","i","o","u"] lis2 = [] m = input("") for…… 题解列表 2022年05月04日 0 点赞 0 评论 168 浏览 评分:0.0
[编程入门]自定义函数之字符提取 题解 摘要:解题思路:带入函数直接判断是否为元音字母,如是便输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string s;void yy(s…… 题解列表 2022年05月04日 0 点赞 0 评论 173 浏览 评分:0.0
[编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s,b;int main(){ cin>>s; for(int …… 题解列表 2022年05月06日 0 点赞 0 评论 109 浏览 评分:0.0
用数组自定义函数之字符提取 摘要:#include <stdio.h>#define N 100void oppo(char sz1[],char sz2[]){ int m,n=0,i; m=strlen(sz1); for(i=0…… 题解列表 2022年05月07日 0 点赞 0 评论 167 浏览 评分:0.0