文件名称: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
....\Project2.bpr
....\Project2.exe
....\Project2.res
....\Project2.tds
....\Unit1.c
....\Unit1.obj
....\Project2.bpf
....\Project2.bpr
....\Project2.exe
....\Project2.res
....\Project2.tds
....\Unit1.c
....\Unit1.obj