#include <iostream>
using namespace std;
int main()
{
double n,max,min;
while(cin>>n)
{
if(n>=max)
{max=n;
cout<<max<<"the largest so far"<<endl;}
if(n<=min)
{min=n;
cout<<min<<"the smallest so far"<<endl;}
if(n<=max&&n>=min)
cout<<n<<endl;
}
return 0;
}
这里输入的第一个数怎么处理