Float and Double changed the name

This commit is contained in:
Mert Gör
2025-04-12 21:41:00 +03:00
parent 7b90c42e43
commit da1d77758a

17
c-basic/float_double.c Normal file
View File

@ -0,0 +1,17 @@
#include <stdio.h>
int main()
{
float f;
double d;
printf("float :");
scanf("%f", &f);
printf("double :");
scanf("%lf", &d);
printf("f = %f, d = %f", f, d);
return 0;
}