This commit is contained in:
2026-09-14 12:44:57 +02:00
parent f42fcd9b2f
commit ccf44a4551
4 changed files with 42 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#include <stdio.h>
#include <stdlib.h>
int main(void) {
printf("%f\n", +1.0/0.0);
printf("%f\n", -1.0/0.0);
printf("%f\n", -0.0/0.0);
return EXIT_SUCCESS;
}
+11
View File
@@ -0,0 +1,11 @@
#include <stdio.h>
#include <stdlib.h>
int main(void) {
printf("%f\n", 5.0+2.5);
printf("%f\n", 5.0-2.5);
printf("%f\n", 5.0*2.5);
printf("%f\n", 5.0/2.5);
printf("%f\n", 5.0/2.5);
return EXIT_SUCCESS;
}
+11
View File
@@ -0,0 +1,11 @@
#include <stdio.h>
#include <stdlib.h>
int main(void) {
printf("%f\n", 5.0+2.5);
printf("%f\n", 5.0-2.5);
printf("%f\n", 5.0*2.5);
printf("%f\n", 5.0/2.5);
printf("%f\n", 5.0/2.5);
return EXIT_SUCCESS;
}
+11
View File
@@ -0,0 +1,11 @@
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int n;
double x;
printf("Entrez un réel : ");
n = scanf("%lf", &x);
printf("notation scentifique: %f\n", x*x);
return EXIT_SUCCESS;
}