C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:10除以8的余数,倒着排列起来就是10的八进制数参考代码:#include <stdio.h>int main(){ int n,a[50],i=0,j; scan…… 题解列表 2018年08月23日 0 点赞 0 评论 562 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意八进制和十进制的区别就行了,这是一道基础题注意事项:%d是十进制,%o是八进制参考代码:#include<stdio.h>int main(){ int n; scanf("%d"…… 题解列表 2018年09月11日 0 点赞 0 评论 541 浏览 评分:0.0
C二级辅导-进制转换 (Java代码) 摘要:解题思路:注意事项:参考代码:package com.cx;import java.util.Scanner;public class Demo1055 { public static voi…… 题解列表 2018年10月10日 0 点赞 0 评论 584 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x; scanf("%d",&x); printf("%o",x); return 0;}…… 题解列表 2018年10月14日 0 点赞 0 评论 353 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:#include "stdafx.h"int main(){ int n,a[1000],t,i=0; scanf("%d", &n); do { t = n % 8; a[i++] = t; …… 题解列表 2018年10月25日 0 点赞 0 评论 375 浏览 评分:0.0
就是想做麻烦 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n,a[100],i,s; scanf("%d",&…… 题解列表 2018年11月12日 1 点赞 1 评论 289 浏览 评分:0.0
C二级辅导-进制转换 (C++代码)(栈的运用,看懂了会写所有的十进制转化成别的进制的问题) 摘要:解题思路:注意事项:参考代码://运用到了栈 #include <iostream> #include<stack> using namespace std; int main(int arg…… 题解列表 2018年11月16日 0 点赞 0 评论 838 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:%o输出八进制数%ox输出十六进制数注意事项:参考代码:int num; scanf("%d",&num); printf("%o\n",num);…… 题解列表 2018年12月04日 0 点赞 0 评论 641 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:#include<stdio.h>int main(){ int m; scanf("%d",&m); printf("%o",m); }…… 题解列表 2019年02月12日 0 点赞 0 评论 825 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); int i=0; int b[10000]; while(a!=0…… 题解列表 2019年03月24日 0 点赞 0 评论 398 浏览 评分:0.0