c语言如何定义单精度浮点型

时间:2024-10-14 02:45:34

1、第一行代码#include <stdio.h>

c语言如何定义单精度浮点型

2、第二行代码#int main(){

c语言如何定义单精度浮点型

3、第三行代码输入float a = 3.14f; 这便是单精度浮点型

c语言如何定义单精度浮点型

4、第四行代码输入printf(“lld%",d);

c语言如何定义单精度浮点型

5、第五行代码输入}

c语言如何定义单精度浮点型
© 手抄报圈