C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:输出内容为3行 3次换行注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\n…… 题解列表 2017年08月28日 1 点赞 0 评论 1059 浏览 评分: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 评论 1179 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:输入一个整数,(此数大小如何限制不会),此数值赋于a,分别输出八进制,十进制,十六进制。注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf…… 题解列表 2017年08月29日 0 点赞 0 评论 1005 浏览 评分:0.0
C语言训练-排序问题<1> (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int num[4]={0…… 题解列表 2017年08月29日 0 点赞 0 评论 1084 浏览 评分: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 评论 927 浏览 评分:0.0
C语言训练-最大数问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:.#include<stdio.h>int main(){ int tem=-100000,n; while(scanf("%d",&n)&&n!=-1) …… 题解列表 2017年08月29日 1 点赞 2 评论 854 浏览 评分: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 评论 1029 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:直接用字符数组反向输出就好注意事项:输出单个字符用%c,\0不需要输出。参考代码:#include "stdio.h"int main(){ int i,l; char a[20]…… 题解列表 2017年08月29日 0 点赞 0 评论 1003 浏览 评分:0.0
数列排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:# include <stdio.h># include <malloc.h>void destroy (int **p , int n);int main (void)…… 题解列表 2017年08月29日 0 点赞 0 评论 1200 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C++代码) 摘要:解题思路:将每位数分给一个数组元素在进行判断注意事项:有点笨的方法参考代码:#include<iostream>using namespace std;int main(){ i…… 题解列表 2017年08月29日 1 点赞 0 评论 1367 浏览 评分:0.0