This commit is contained in:
2026-09-14 10:44:11 +02:00
parent 6dbd74db95
commit bf705d701d
9 changed files with 52 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#include <stdlib.h>
#include <stdio.h>
int main() {
float nombre;
char caractere;
printf("Entrez un nombre réel : ");
scanf("%f", &nombre);
printf("En notation scientifique : %e\n", nombre);
printf("Entrez un caractère : ");
scanf(" %c", &caractere);
for (int i = 0; i < 5; i++) {
printf("%c", caractere);
}
printf("\n");
return 0;
}