Compare commits

..

2 Commits

Author SHA1 Message Date
da1d77758a
Float and Double changed the name 2025-04-12 21:41:00 +03:00
7b90c42e43
double and float 2025-04-12 21:39:46 +03:00

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;
}