c-course/c-basic/float-and-double.c

16 lines
241 B
C
Raw Normal View History

2024-02-19 04:41:09 +03:00
#include <stdio.h>
int main(){
float f;
double d;
printf("float bir deger giriniz:");
scanf("%f", &f);
printf("double bir deger giriniz: ");
scanf("%lf", &d);
printf("f = %f, d = %f\n", f, d);
return 0;
}