#include <stdlib.h>
#include <stdio.h>
int a,b,c;
int main (){
printf("Donnez trois entiers. \n");
scanf("%d %d %d",&a,&b,&c);
printf("%d\n%d\n%d\n",a,b,c);
if(a>b && a>c){
printf("Le maximum est %d",a);}
else if(b>a && b>c) {
printf("Le maximum est %d",b); }
else if(c>a && c>b) {;
printf("Le maximum est %d",c);}
else {
printf("Il n'y a pas de maximum.");}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: