剔除相关数 (C语言代码) 摘要:解题思路:我写的比较麻烦,本程序是用字符串数组保存各个数据,为保证最后输出正确,将开始的字符串赋值到另外一个字符串数组a于b里(且各个字符串数组的下标与相对应的数据要一致),将a与b的字符串进行排序,…… 题解列表 2017年08月28日 1 点赞 0 评论 1361 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:输出内容为3行 3次换行注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\n…… 题解列表 2017年08月28日 1 点赞 0 评论 921 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:#include<stdio.h>int main(){ int number,t,a[100],i=0; scanf("%d",&number); do{ a[i]=number%8; …… 题解列表 2017年08月28日 0 点赞 0 评论 1005 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:输入一个整数,(此数大小如何限制不会),此数值赋于a,分别输出八进制,十进制,十六进制。注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf…… 题解列表 2017年08月29日 0 点赞 0 评论 859 浏览 评分:0.0
C语言训练-排序问题<1> (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int num[4]={0…… 题解列表 2017年08月29日 0 点赞 0 评论 952 浏览 评分:0.0
C语言训练-数字母 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int count=0,i; char str[110]={0}…… 题解列表 2017年08月29日 0 点赞 0 评论 846 浏览 评分:0.0
C语言训练-最大数问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:.#include<stdio.h>int main(){ int tem=-100000,n; while(scanf("%d",&n)&&n!=-1) …… 题解列表 2017年08月29日 1 点赞 2 评论 790 浏览 评分:0.0
C语言训练-求1+2!+3!+...+N!的和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long j,sum=0; int i,N; scanf("%d",&N); …… 题解列表 2017年08月29日 0 点赞 0 评论 898 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:直接用字符数组反向输出就好注意事项:输出单个字符用%c,\0不需要输出。参考代码:#include "stdio.h"int main(){ int i,l; char a[20]…… 题解列表 2017年08月29日 0 点赞 0 评论 855 浏览 评分:0.0
数列排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:# include <stdio.h># include <malloc.h>void destroy (int **p , int n);int main (void)…… 题解列表 2017年08月29日 0 点赞 0 评论 1133 浏览 评分:0.0