ch2_2.cpp
资源名称:c.rar [点击查看]
上传用户:puke2000
上传日期:2022-07-25
资源大小:912k
文件大小:0k
源码类别:

C#编程

开发平台:

Visual C++

  1. //*********************
  2. //**    ch2_2.cpp    **
  3. //*********************
  4. #include <iostream.h>
  5. void main()
  6. {
  7.   int number=1001;
  8.   cout <<"Decimal:" <<dec <<number <<endl
  9.        <<"Hexadecimal:" <<hex <<number <<endl
  10.        <<"Octal:" <<oct <<number <<endl;
  11. }