通用方法,输多少都给你拆开 拆分位数 (C语言代码) 摘要:解题思路:按位取注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); while(n) { …… 题解列表 2019年02月11日 1 点赞 7 评论 1451 浏览 评分:8.5
数据结构-八进制数 (C++代码) 摘要:解题思路:模拟进制转换过程即可注意事项:正序存,倒序输出参考代码:#include <iostream> using namespace std; int main() { int a[10…… 题解列表 2019年02月10日 0 点赞 0 评论 1100 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a,b,c,max; scanf("%d%d%d",&a,&b,&c); …… 题解列表 2019年02月10日 8 点赞 0 评论 904 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:```c #include int main() { float c,f; scanf("%f",&f); c=5*(f-32)/9; printf("c…… 题解列表 2019年02月10日 6 点赞 5 评论 1805 浏览 评分:9.1
求中间数 (C语言代码)直接用if else语句完成 摘要:解题思路:直接使用if else语句 将所有可能的情况列出来注意事项:三个数比较大小时先两两比较 再用&&连接参考代码:#include <stdio.h>int main(){ int a,b…… 题解列表 2019年02月10日 0 点赞 0 评论 1067 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ char c1='C',c2='h',c3='i',c4…… 题解列表 2019年02月10日 6 点赞 2 评论 323 浏览 评分:0.0
鸡兔同笼 (C语言代码) 摘要:解题思路:简单的二次方程,在纸上面写出来公式就行了注意事项:参考代码:#include<stdio.h>int main(void){ int s; int r, c; scanf("%d", &s)…… 题解列表 2019年02月10日 0 点赞 0 评论 1041 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:没啥可说的,注意换行符就行。参考代码:#include<stdio.h> int main() { printf("**************************\n"…… 题解列表 2019年02月10日 7 点赞 3 评论 562 浏览 评分:6.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a,b; while(scanf("%d%d",&a,&b)==2) { p…… 题解列表 2019年02月10日 6 点赞 0 评论 1509 浏览 评分:8.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(void){ double a,pm; scanf("%lf",&a); if (a>=0 &…… 题解列表 2019年02月10日 11 点赞 20 评论 2151 浏览 评分:9.3