// 必须要以零结尾,但中间不能含零
#include
void main()
{
int num, max, min;
cin>>num;
if (num!=0)
{
max = num;
min = num;
while(num!=0)
{
if (num > max) max = num;
if (num < min) min = num;
cin>>num;
}
cout<<"max number : "<
}
else
{
cout<<"The first number equal zero"<
}