printf基础练习2 (C语言代码) 摘要:解题思路:输入一个整数,不超过10^9注意事项:输出这个整数的八进制、十进制和十六进制,三个数字用空格分开,最后一个有换行不要忘记八进制和十六进制的前缀哦~参考代码:#include<stdio.h>…… 题解列表 2018年01月09日 0 点赞 0 评论 762 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; a=100; int b; int c; int d; pri…… 题解列表 2018年06月16日 0 点赞 0 评论 420 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:使用转换语句注意事项:八进制和十六进制有前缀,如果使用%o,%d,%x,是不会带有前缀的。参考代码:#inlcude <stdio.h>int main(){ int a,b; …… 题解列表 2018年05月29日 0 点赞 0 评论 424 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; scanf("%d",&i); printf("0%o %d 0x%x\n",i,…… 题解列表 2018年04月12日 0 点赞 0 评论 619 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:看看题解确实挺好的注意事项:参考代码:#include<stdio.h>int main(){int a;scanf("%d",&a);//这里不需要换行吧?/nprintf("%#o …… 题解列表 2017年10月03日 0 点赞 0 评论 862 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); printf("0%o %d 0x%x\n",a…… 题解列表 2018年03月14日 0 点赞 0 评论 858 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:注意前缀。参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); printf("%#o %d %#x\…… 题解列表 2018年03月12日 0 点赞 0 评论 626 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a;scanf("%d",&a);printf("%d %o %x",a);return 0;}…… 题解列表 2018年03月11日 0 点赞 0 评论 605 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:# include<stdio.h>int main(){ int a; scanf("%d",&a); printf("0%o %d 0x%x",a,a,a); ret…… 题解列表 2018年01月13日 0 点赞 0 评论 533 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ int a; scanf("%d",&a); printf…… 题解列表 2018年07月03日 0 点赞 0 评论 537 浏览 评分:0.0