当前位置:网站首页>C语言:小乐乐与进制转换
C语言:小乐乐与进制转换
2022-07-29 02:17:00 【高邮吴少】
题目链接
小乐乐在课上学习了二进制八进制与十六进制后,对进制转换产生了浓厚的兴趣。因为他的幸运数字是6,所以他想知道一个数表示为六进制后的结果。请你帮助他解决这个问题。
#include<stdio.h>
void jz(int x)
{
if(x!=0)
{
jz(x/6);
printf("%d",x%6);
}
}
int main()
{
int a=0;
scanf("%d",&a);
jz(a);
}

边栏推荐
- Driverless obstacle avoidance technology
- MySQL basic operation and comprehensive instance project based on MySQL basic operation
- MySQL和Redis的双写一致性
- 工程经济学名词解释
- Understand the evolution of redis architecture in one article
- 工程经济学知识点总结
- HTTP缓存
- Ordinary happiness
- 一款好看的iapp捐赠榜单源码
- 全新UI四方聚合支付系统源码/新增USDT提现/最新更新安全升级修复XSS漏洞补单漏洞
猜你喜欢

物联网组件

QT screen adaptive automatic layout, drag the window to automatically grow larger and smaller (I)

优炫软件任命黄志军为公司总经理

Production scheme and advantages of online 3D digital exhibition hall
![[quality] code quality evaluation standard](/img/33/2c2256fd98b908ddaf5573f644ad7f.png)
[quality] code quality evaluation standard

Where, having, group by, order by, is null, not in, subquery, delete, date function

MySQL basic operation and comprehensive instance project based on MySQL basic operation

What happens if you have to use ArrayList in multithreading?

ROCBOSS开源微社区轻论坛类源码

用于校园流浪猫信息记录和分享的小程序源码/微信云开发中大猫谱小程序源码
随机推荐
Youxuan software appoints Huang Zhijun as the general manager of the company
Wechat applet - Advanced chapter Lin UI component library source code analysis button component (II)
6 years of testing experience, teaching you how to test ~ how to control the project
STM32F103 learn the steps and template fool tutorial of 1-keil5 project establishment
Ffmpeg+sdl+qt is a simple video player
0728~面试题梳理
家庭亲戚关系计算器微信小程序源码
3d智能工厂工艺流转可视化交互展示应用优点
2022/07/28 学习笔记 (day18) 常用API
新版海螺影视主题模板M3.1全解密版本多功能苹果CMSv10后台自适应主题开源全解密版
ES6 detailed quick start!
What happens if you have to use ArrayList in multithreading?
Rust list (VEC) replication
ROCBOSS开源微社区轻论坛类源码
qt QStringList用法
time_wait和close_wait产生原因
Library management system
How to migrate thinkphp5 projects to Alibaba cloud function computing to cope with traffic peaks?
Talk about 11 tips for interface performance optimization
MySQL和Redis的双写一致性