rendered paste body#include <stdio.h>
#include <math.h>
int x1,x2,x3,sum,avg,min,max;
main() {
printf("Dwse ton 1o arithmo:");
scanf("%d",&x1);
printf("\nDwse ton 2o arithmo:");
scanf("%d",&x2);
printf("\nDwse ton 3o arithmo:");
scanf("%d",&x3);
if(x1>x2) && (x1<x3)
{
printf("\nTo megalitero pou edwses einai: %d",x3);
printf("\nTo mikrotero pou edwses einai: %d",x2);
}
else if (x3 > x1) && (x3 < x2)
{
printf("\nTo megalitero pou edwses einai: %d",x2);
printf("\nTo mikrotero pou edwses einai %d",x1);
}
else
{
printf("\nTo megalitero pou edwses einai: %d",x1);
printf("\nTo mikrotero pou edwses einai: %d",x3);
}
system("pause");
return 0;
}