Files
information-processing-1_4t…/programs/printf-formats/main-p-1-2.c

15 lines
280 B
C

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