当前位置:网站首页>Hexadecimal to octal
Hexadecimal to octal
2022-07-05 04:11:00 【CSDNhdlg】
#include<stdio.h>
#define N 50
int main()
{
int i,n;
int ch[N];
scanf("%d",&n);
for(i=0;i<n;i++)
scanf("%x",&ch[i]);// transport 16 Hexadecimal number
for(i=0;i<n;i++)
printf("%o\n",ch[i]);// Output 8 Hexadecimal number
return 0;
}
边栏推荐
- Common features of ES6
- Enterprise level: spire Office for . NET:Platinum|7.7. x
- The order of LDS links
- A real day for Beijing programmers!!!!!
- “金九银十”是找工作的最佳时期吗?那倒未必
- EasyCVR平台出现WebRTC协议视频播放不了是什么原因?
- The development of mobile IM based on TCP still needs to keep the heartbeat alive
- 测试开发是什么?为什么现在那么多公司都要招聘测试开发?
- 这是一个不确定的时代
- Uni app change the default component style
猜你喜欢

Threejs factory model 3DMAX model obj+mtl format, source file download

Longyuan war "epidemic" 2021 network security competition web easyjaba

Wechat applet development process (with mind map)

Scheduling system of kubernetes cluster

Rust区块琏开发——签名加密与私钥公钥

JVM garbage collection

Kwai, Tiktok, video number, battle content payment

EasyCVR更改录像存储路径,不生成录像文件如何解决?

Threejs realizes the drawing of the earth, geographical location annotation, longitude and latitude conversion of world coordinates threejs coordinates
![[wp][introduction] brush weak type questions](/img/d0/9eb3ade701057837d98e4a20082a10.png)
[wp][introduction] brush weak type questions
随机推荐
Differences among 10 addressing modes
UI automation test farewell to manual download of browser driver
[PHP features - variable coverage] improper use, improper configuration and code logic vulnerability of the function
阿里云ECS使用cloudfs4oss挂载OSS
WGS84 coordinate system, web Mercator, gcj02 coordinate system, bd09 coordinate system - brief introduction to common coordinate systems
Containerd series - what is containerd?
Un réveil de l'application B devrait être rapide
[phantom engine UE] realize the animation production of mapping tripod deployment
【看完就懂系列】一文6000字教你从0到1实现接口自动化
Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
On the day 25K joined Tencent, I cried
Longyuan war "epidemic" 2021 network security competition web easyjaba
Three level linkage demo of uniapp uview u-picker components
Use threejs to create geometry and add materials, lights, shadows, animations, and axes
About the project error reporting solution of mpaas Pb access mode adapting to 64 bit CPU architecture
What is test development? Why do so many companies hire test developers now?
The development of mobile IM based on TCP still needs to keep the heartbeat alive
provide/inject
How to realize real-time audio and video chat function
【虚幻引擎UE】实现UE5像素流部署仅需六步操作少走弯路!(4.26和4.27原理类似)