Sie sind auf Seite 1von 1

#include<iostream.

h>
#include<conio.h>
void main()
{
int a,b,c;
cout<<"Enter three no"<<endl;
cin>>a>>b>>c;
if ((a<b)&&(a<c))
cout<<a<<" is smallest";
else if ((b<c)&&(b<a))
cout<<b<<" is smallest";
else if ((c<a)&&(c<b))
cout<<c<<" is smallest";
getch();
}

Das könnte Ihnen auch gefallen