当前位置:网站首页>C language: Little Lele and hexadecimal conversion
C language: Little Lele and hexadecimal conversion
2022-07-29 02:47:00 【Gao You Wu Shao】
Topic link
Xiaolele learned binary octal and hexadecimal in class , I have a strong interest in binary conversion . Because his lucky number is 6, So he wants to know the result of a number expressed in hex . Please help him solve the problem .
#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);
}

边栏推荐
猜你喜欢

VR safety training of mine mining virtual reality improves employees' vigilance and protection awareness

新版海螺影视主题模板M3.1全解密版本多功能苹果CMSv10后台自适应主题开源全解密版

网络基础概论

FPGA skimming memory (Verilog implementation of ram and FIFO)

Stm32c8t6 encoder motor speed measurement and Arduino photoelectric module speed measurement

用于校园流浪猫信息记录和分享的小程序源码/微信云开发中大猫谱小程序源码

idea配置web容器与war打包

以科技传递温度,vivo亮相数字中国建设峰会

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

laravel框架中实现封装公共方法全局调用
随机推荐
第九天笔记
Redis master-slave mode, sentinel cluster, fragment cluster
自动分账系统哪家好?
MySQL basic operation and comprehensive instance project based on MySQL basic operation
XSS range (II) xss.haozi
ROS2/ROS1开发过程中的一些记录
In depth analysis - Pretreatment
优炫软件任命黄志军为公司总经理
11.书写规则-伪目标
QT qstringlist usage
6 years of testing experience, teaching you how to test ~ how to control the project
一款好看的iapp捐赠榜单源码
C语言:小乐乐与进制转换
第五天实验
QT compilation of IOT management platform 48 characteristic function design
第七天笔记
Production scheme and advantages of online 3D digital exhibition hall
Understanding service governance in distributed development
Read the recent trends of okaleido tiger and tap the value and potential behind it
Introduction to network foundation