Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int a,b,c;
- printf("Veuillez entrer 3 valeur entier : ");
- scanf("%d %d %d", &a, &b, &c);
- printf("le plus petit est : ");
- if(a <= b && a <= c)
- printf("%d", a);
- else if(b <= a && b <= c)
- printf("%d", b);
- else
- printf("%d", c);
- printf("\n");
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment