C语言的第一天

时间:2023-03-08 21:29:11
C语言的第一天

                                      代码根本C语言(我不知道这句话,严不严谨)

2019年4月30日(day01)

      

           软件Code::blocks

           #include <stdio.h>  //导入标准的io库

           #include <stdlib.h>  //标准库

           int main()

           {

              int a = 30;

              printf(" %-#8x | %#3o | %2.3f \n",a,a,a);   //%#x 输出16位进制  | %#o 输出8位进制的数 | %f浮点型

              return;

           }