Francois Lesueur
2 years ago
2 changed files with 17 additions and 1 deletions
@ -0,0 +1,15 @@ |
|||
#include <stdlib.h> |
|||
#include <stdio.h> |
|||
|
|||
int main() |
|||
{ |
|||
float a = 0.1; |
|||
float b = 0.2; |
|||
float c = 0.3; |
|||
|
|||
/* double a = 0.1;
|
|||
double b = 0.2; |
|||
double c = 0.3; */ |
|||
|
|||
if (a+b == c) {printf("égaux\n");} else {printf("différents\n");} |
|||
} |
Loading…
Reference in new issue