#include<iostream>
using namespace std;
int main()
{
int a,b,c;
cout<<"enter 3 numbers"<<endl;
cin>>a>>b>>c;
if(a<b && a<c)
{
if(b<a && b<a)
cout<<"smallest number is:"<<b<<endl;
else
cout<<"smallest number is:"<<a<<endl;
}
else
cout<<"smallest number is:"<<c<<endl;
system("pause");
return 0;
https://mainadilsahu.blogspot.com/
No comments:
Post a Comment