2015-10-23 18:41:09
#include <conio.h>
#include <stdio.h>
#include <math.h>
 
void main()
{
	int a,b,c,min,max,mid;
	printf("Nhap a: ");
	scanf("%d",&a);
	printf("Nhap b: ");
	scanf("%d",&b);
	printf("Nhap c: ");
	scanf("%d",&c);
	if (a<b)
	{
	  max=b;
	  min=a;
	}
	else
	{
	  max=a;
	  min=b;
	}
	if(min<c)
	{
	  min=min;
 	  mid=c;
	}
	else
	{
	  min=c;
	  mid=min;
	}
	if (max<mid)
	{
	  max=mid;
	  mid=max;
	}
	else
	{
	  max=max;
	  mid=mid;
	}
	printf("%d -%d -%d",min,mid,max);
	getch();
}
Invalid Email or Password