Files
information-processing-1_4t…/programs/printf-formats/main-s1-lf.c
2025-05-04 05:59:50 +00:00

15 lines
270 B
C

#include <stdio.h>
int main(void) {
int n;
double x;
printf("Int n: "); scanf("%lf", &n);
printf("Double x: "); scanf("%lf", &x);
printf("Integer n is %d\n", n);
printf("Double percision floating point decimal x is %f\n", x);
return 0;
}