【1】 输入一个十进制数,将其先转化为八进制数,然后再输出。 参考代码: #include<stdio.h> #include<stdlib.h>int main() { int a = 0 ; printf ("Please enter a decimal number:") ; scanf ("%d",&a) ; printf ("%d's octal number is %o/n",a,a) ; //system("pause");}#inc 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交