互联网安全知识分享

专注于互联网知识技术分享平台

十进制转八进制?C 语言实例-八进制与十进制相互转换

八入造取十入造互相 变换。真例 - 十入造变换为八入造#include #include int convertDecimalToOctal(int decimalNumber);int main(){int decimalNumber;printf("输出一个十入造数: ");scanf("%d", &decimalNumber);printf("十入造数 %d 变换为八入造为 %d", decimalNumber, convertDecimalToOcta
<< 1 >>

Powered By

Copyright Your WebSite.Some Rights Reserved.