1034: [编程入门]自定义函数之数字分离 摘要:解题思路:可以进行任意位数的分离注意事项:参考代码:#include <stdio.h>#include <string.h>void add(char a[]){ int len=strlen…… 题解列表 2022年11月15日 0 点赞 0 评论 85 浏览 评分:0.0
自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; int i,b; int c[4]; scanf("%d",&a); for(i=0;i<…… 题解列表 2022年11月10日 0 点赞 0 评论 124 浏览 评分:9.9
自定义函数之数字分离(有数组版) 摘要:解题思路:设计一个数组,把每一位数放到数组里面,然后把他输出.注意事项:参考代码:#include<stdio.h>void data(int a,int b[],int n);int main(){…… 题解列表 2022年11月08日 0 点赞 0 评论 99 浏览 评分:9.9
简单直接易懂 摘要:解题思路:注意事项:输入输出要用%c,%d没法将数字单独拆开参考代码:#include<stdio.h>int main(){ char a[4],i; for(i=0;i<4;i++){ scanf…… 题解列表 2022年11月07日 0 点赞 0 评论 111 浏览 评分:9.9
C语言字符串 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[5]; gets(a); for(int i=0;i<3;i++) …… 题解列表 2022年11月06日 0 点赞 0 评论 87 浏览 评分:0.0
自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[4]; int i; gets(a); for(i=0;i<4;i++) …… 题解列表 2022年11月06日 0 点赞 0 评论 123 浏览 评分:9.9
自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int f(char a[1000],int sz,char b[5]){ int i=…… 题解列表 2022年11月01日 0 点赞 0 评论 118 浏览 评分:9.9
常规发处理变量 摘要:解题思路:注意事项:调用fun()函数时,注意参数参考代码:#include<stdio.h> int fun(int num) { int a, b, c, d; a = num / 1…… 题解列表 2022年10月28日 0 点赞 0 评论 115 浏览 评分:0.0
自定义函数之数字分离(数组版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>char a[81],b[81];int i;char c=' ';void f()…… 题解列表 2022年10月25日 0 点赞 0 评论 101 浏览 评分:0.0
自定义函数之数字分离 摘要: #include #include using namespace std; void fun(int i) { int a, b, c, …… 题解列表 2022年10月11日 0 点赞 0 评论 140 浏览 评分:0.0