题解 1055: 二级C语言-进制转换

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

题解 1055: 二级C语言-进制转换

摘要:解题思路:没啥好说的,不明白为什么会放到数组的课后题。参考代码:#include<stdio.h> int main(void){ int num; scanf("%d",&num); ……

十进制转八进制(递归解法)

摘要:解题思路:递归注意事项:参考代码:#include <stdio.h>void f(int n){       int r;       r = n % 8;       if(n >= 8)    ……

1055: 二级C语言-进制转换

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); printf("%o",n); return 0;……

1055 二级C语言转换

摘要:```c #include int main(){ int n; scanf("%d",&n); printf("%o",n); return 0; } ``````c ……

最新手的解法

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>int main(void) { int a,q[10],i=0,j; scanf("%d",&a……

史上最简单的代码

摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main() { int n; scanf("%d", &n); printf("%o", n);return 0;}……