文件名称:tony
介绍说明--下载内容来自于网络,使用问题请自行百度
指定一個數字轉換回十進位,八進位,十六進位#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int number =89
printf("數字 %d\n",number) /* %d 為十進位輸出格式*/
printf("八進位為 %o\n",number) /* %o 為八進位輸出格式*/
printf("十六進位為%x\n",number) /* %x 為十六進位輸出格式*/
system("pause")
return 0
}-Specify a number of conversion back to decimal, octal, hexadecimal# Include <stdio.h># Include <stdlib.h> int main (void) (int number = 89 printf ( number of d , number)/* d for decimal output format*/printf ( octal to o , number)/* o for the eight binary output format*/printf ( hexadecimal is x , number)/* x for hexadecimal output format*/system ( pause ) return 0)
#include <stdlib.h>
int main(void)
{
int number =89
printf("數字 %d\n",number) /* %d 為十進位輸出格式*/
printf("八進位為 %o\n",number) /* %o 為八進位輸出格式*/
printf("十六進位為%x\n",number) /* %x 為十六進位輸出格式*/
system("pause")
return 0
}-Specify a number of conversion back to decimal, octal, hexadecimal# Include <stdio.h># Include <stdlib.h> int main (void) (int number = 89 printf ( number of d , number)/* d for decimal output format*/printf ( octal to o , number)/* o for the eight binary output format*/printf ( hexadecimal is x , number)/* x for hexadecimal output format*/system ( pause ) return 0)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tony/Project2.bpf
tony/Project2.bpr
tony/Project2.exe
tony/Project2.res
tony/Project2.tds
tony/Unit1.c
tony/Unit1.obj
tony/Project2.bpr
tony/Project2.exe
tony/Project2.res
tony/Project2.tds
tony/Unit1.c
tony/Unit1.obj
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.