当前位置:网站首页>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);
}

边栏推荐
猜你喜欢

6-21漏洞利用-mysql弱口令破解

3D intelligent factory process flow visualization interactive display application advantages

MPEG音频编码三十年

QT compilation of IOT management platform 48 characteristic function design

6-21 vulnerability exploitation MySQL weak password cracking

idea配置web容器与war打包

Double write consistency of MySQL and redis

Mqtt routine

DHCP协议详细解析

C语言:空心正方形图案
随机推荐
K210——声源定位、声音识别
What are the TCP retransmission mechanisms?
FTP协议详解
etcd实现大规模服务治理应用实战
HTTP cache
Three implementation methods of Servlet
C语言:小乐乐与欧几里得
QT screen adaptive automatic layout, drag the window to automatically grow larger and smaller (I)
Three expiration strategies
really time ntp服务启动命令
Explanation of engineering economics terms
C语言:小乐乐与进制转换
云开发打工人必备上班摸鱼划水微信小程序源码
K210 - sound source location and sound recognition
Catchadmin practical tutorial (IV) implementation of relevant functions of table components
Library management system
3D intelligent factory process flow visualization interactive display application advantages
Implement encapsulated public method global call in laravel framework
MySQL和Redis的双写一致性
Time for white horses to pass the gap