From 0b6bdc976c87fcec660f8e4a75bc15dcbf1acecf Mon Sep 17 00:00:00 2001 From: Adrien Date: Sat, 13 Sep 2025 17:37:50 +0200 Subject: [PATCH] =?UTF-8?q?J'ai=20bien=20boss=C3=A9=20:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DEV1.1/TP05/tp5.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 DEV1.1/TP05/tp5.c diff --git a/DEV1.1/TP05/tp5.c b/DEV1.1/TP05/tp5.c new file mode 100644 index 0000000..450857f --- /dev/null +++ b/DEV1.1/TP05/tp5.c @@ -0,0 +1,17 @@ +#include +#include + +/*EXO 1*/ + +int main(void) { + int n; + double x; + char v; + printf("Saisir un réel"); + n = scanf("%lf\n",&x); + printf("Sa forme scientifque : %e\n",n), + v = getchar(); + printf("5 fois de suites ; %c,%c,%c,%c,%c",v); + return EXIT_SUCCESS; +} +