2025-09-15 11:59:44 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int main(void) {
|
2025-09-15 13:21:45 +02:00
|
|
|
int n;
|
2025-09-15 11:59:44 +02:00
|
|
|
double x;
|
|
|
|
char m;
|
2025-09-15 13:21:45 +02:00
|
|
|
char y;
|
2025-09-15 11:59:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
printf("Saisir un réel :\n");
|
|
|
|
n = scanf("%lf",&x);
|
|
|
|
printf("Notation scientifque : %e\n", x);
|
2025-09-15 13:21:45 +02:00
|
|
|
|
|
|
|
getchar(); /* pour qu'il prenne le ENTREZ*/
|
2025-09-15 11:59:44 +02:00
|
|
|
|
2025-09-15 13:21:45 +02:00
|
|
|
printf("Saisir un caratcère :\n");
|
|
|
|
y = getchar();
|
|
|
|
printf("Votre caractère : %c%c%c%c%c\n", y,y,y,y,y);
|
|
|
|
|
|
|
|
return EXIT_SUCCESS;
|
2025-09-15 11:59:44 +02:00
|
|
|
}
|