diff --git a/DEV1.1/TP05/TP05_reponses.txt b/DEV1.1/TP05/TP05_reponses.txt new file mode 100644 index 0000000..e69de29 diff --git a/DEV1.1/TP05/tests.c b/DEV1.1/TP05/tests.c new file mode 100644 index 0000000..c4dba69 --- /dev/null +++ b/DEV1.1/TP05/tests.c @@ -0,0 +1,19 @@ +# include +# include + +int main(void) { + double nombre; + char lettre; + printf("Veuillez saisir un réel : "); + scanf("%lf", &nombre); + printf("\nSa notation scientifique est : %e\n", nombre); + printf("Veuillez taper un caractère : "); + getchar(); + lettre = getchar(); + printf("%c\n", lettre); + printf("%c\n", lettre); + printf("%c\n", lettre); + printf("%c\n", lettre); + printf("%c\n", lettre); + return EXIT_SUCCESS; +} \ No newline at end of file