11 lines
256 B
C
11 lines
256 B
C
#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);
|
|
// % marche pas pour les double ou floatprintf("%f\n", 5.0%2.5);
|
|
return EXIT_SUCCESS;
|
|
} |