#include<iostream.h>
void main()
{int i,max; int a[10]; cout<<"Please input the numbers:"<<endl; for(i=0;i<10;i++) {cin>>a[i];} for(i=0;i<10;i++) {if(max<a[i]) max=a[i];} cout<<"The max number is :"<<max<<endl;