BUT2/DEV/DEV1.1/TP_Reels/programme4.c~

11 lines
194 B
C
Raw Normal View History

2023-10-23 13:23:36 +02:00
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int n;
printf("Saisissez un réel : %c\n");
n = scanf("%lf", &x)
printf("son carré vaut : %f\n", x*x);
return EXIT_SUCCESS;
}