[编程入门]水仙花数判断-题解(C语言代码) 摘要:解题思路:可以用函数也可以直接三个变量相乘。注意事项:没什么好注意得。参考代码:#include <stdio.h>#include <math.h>int main(){ int i,a,b,c; …… 题解列表 2020年11月17日 0 点赞 0 评论 486 浏览 评分:0.0
C语言训练-大、小写问题-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>int main(){ char string1[1000]; sc…… 题解列表 2020年11月17日 0 点赞 0 评论 1128 浏览 评分:0.0
[编程入门]阶乘求和-题解(C语言代码) 摘要:解题思路:注意事项:int 型提交不能正确,得用long int 型。参考代码:#include <stdio.h>int main(){ long int i,n,sum1=1,sum=0; sca…… 题解列表 2020年11月17日 0 点赞 0 评论 477 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>void stringcat(char *string1,char *strin…… 题解列表 2020年11月17日 0 点赞 0 评论 716 浏览 评分:0.0
C语言训练-数字母-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include#define N 100int main(){ char string[100];//定义成字符型 int i,j,m; i=0;j=…… 题解列表 2020年11月17日 0 点赞 0 评论 424 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>void stringback(char *string1,char *stri…… 题解列表 2020年11月17日 0 点赞 0 评论 546 浏览 评分:0.0
C语言训练-大、小写问题-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include#define N 100int main(){ char string[100];//定义string[100]为字符型 int i,j; …… 题解列表 2020年11月17日 0 点赞 0 评论 1078 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:解题思路:注意事项:参考代码#include#includeint main(){ char a[100],b[100];//定义两个数组 gets(a);//输入第一个数组表示的字符 …… 题解列表 2020年11月17日 0 点赞 0 评论 803 浏览 评分:0.0
密码-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int n,b; char ch; int arr1[4],arr[4]={0,0,0,0}; int tur…… 题解列表 2020年11月17日 0 点赞 0 评论 1082 浏览 评分:8.0
二叉树遍历-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct node{ struct node…… 题解列表 2020年11月17日 0 点赞 0 评论 1169 浏览 评分:0.0