#include <iostream>
using namespace std;
class biggest
{
private :
int jumlah,temp,big;
public :
void input ()
{
cout<<"masukkan jumlah bilangan = "<<endl;
cin>>jumlah;
}
void proses ()
{
cout<<"masukkan bilangan = "<<endl;
cin>>temp;
big=temp;
for (int i=2;i<=jumlah;i++)
{
cout<<"masukkan bilangan = "<<i<<endl;
cin>>temp;
if (big<temp)
{
big = temp;
}
}
}
void output ()
{
cout<<"biggest number = "<<big<<endl;
}
};
int main ()
{
biggest b;
b.input ();
b.proses ();
b.output ();
system("PAUSE");
return 0;
}