Lowest number from three given numbers in C


Levels of difficulty: / perform operation:

C programe of lowest number from three given numbers.

C Program

#include <stdio.h>
#include <conio.h>
void main()
{
	int a,b,c;
	clrscr();
	printf("\nENTER THREE NUMBERS:\n");
	scanf("%d %d %d",&a,&b,&c);
	if(a<b && a<c)
		printf("\nLOWEST NUMBER IS %d",a);
	if(b<c && b<a)
		printf("\nLOWEST NUMBER IS %d",b);
	if(c<a && c<b)
		printf("\nLOWEST NUMBER IS %d",c);
	getch();
}


Output