# include <iostream.h>
int main( )
{
int a =3 , b = 7 , c = 0 ;
int temp, result;
temp = a < b ? a : b ;
result = temp < c ? temp : c ;
cout<<"The minimum number in"<<a<<","<<b<<","<<c<<" is "<< result;
return 0;
}
Labels: C++ Basic Codes, C++ Codes
Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies| |
---|
0 comments:
Post a Comment