问题及代码
作者:李长鸿
时间'2014.10.28
问题:填充题
#include <iostream>
using namespace std;
int main()
{
int k,x,max;
cin>>x;
max=x;
for(k=1;k<=10;k++)
{
cin>>x;
if(max<=x) max=x;
}
cout<<"max="<<max<<endl;
return 0;
}