SHOW_OH.C
资源名称:C.rar [点击查看]
上传用户:qq5388545
上传日期:2022-07-04
资源大小:29849k
文件大小:0k
源码类别:

界面编程

开发平台:

C/C++

  1. #include <stdio.h>
  2. void main ()
  3.  {
  4.    int value = 255;
  5.    printf("The decimal value %d in octal is %#on",
  6.         value, value);
  7.    printf("The decimal value %d in hexadecimal is %#xn", 
  8.         value, value);
  9.    printf("The decimal value %d in hexadecimal is %#Xn", 
  10.         value, value);
  11.  }