(Move to ...)
▼
Program to find minimum Number
# 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;
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment