当前位置:网站首页>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;
}
边栏推荐
- 【FineBI】使用FineBI制作自定义地图过程
- 3. Package the bottom navigation tabbar
- Fuel consumption calculator
- Threejs loads the city obj model, loads the character gltf model, and tweetjs realizes the movement of characters according to the planned route
- Realize the attention function of the article in the applet
- 【虛幻引擎UE】實現UE5像素流部署僅需六步操作少走彎路!(4.26和4.27原理類似)
- 基于TCP的移动端IM即时通讯开发仍然需要心跳保活
- 美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
- Clickhouse materialized view
- [untitled]
猜你喜欢
Use of vscode software
Threejs implements labels and displays labels with custom styles
快手、抖音、视频号交战内容付费
This article takes you to understand the relationship between the past and present of Bi and the digital transformation of enterprises
Fuel consumption calculator
Use Firefox browser to quickly pick up Web image materials
北京程序员的真实一天!!!!!
[phantom engine UE] only six steps are needed to realize the deployment of ue5 pixel stream and avoid detours! (the principles of 4.26 and 4.27 are similar)
C语言课设:影院售票管理系统
What is test development? Why do so many companies hire test developers now?
随机推荐
[charging station]_ Secular wisdom_ Philosophical wisdom _
This article takes you to understand the relationship between the past and present of Bi and the digital transformation of enterprises
Threejs rendering obj+mtl model source code, 3D factory model
小程序中实现文章的关注功能
3. Package the bottom navigation tabbar
What is test development? Why do so many companies hire test developers now?
As soon as I write the code, President Wang talks with me about the pattern all day
Why can't all browsers on my computer open web pages
Test d'automatisation de l'interface utilisateur télécharger manuellement le pilote du navigateur à partir de maintenant
FFmepg使用指南
基于TCP的移动端IM即时通讯开发仍然需要心跳保活
A應用喚醒B應該快速方法
Looking back on 2021, looking forward to 2022 | a year between CSDN and me
Containerd series - what is containerd?
DFS and BFS concepts of trees and graphs
[array]566 Reshape the matrix - simple
Threejs realizes the drawing of the earth, geographical location annotation, longitude and latitude conversion of world coordinates threejs coordinates
JVM garbage collection
Convert Boolean to integer value PHP - Convert Boolean to integer value PHP
10种寻址方式之间的区别