sum of 10 integers

//sum of 10 integers

#include
#include

class addition
{
int data;
public:
addition() //constructor
{data=0;}

void getdata(addition o1)
{cout<<"\nEnter Your Data :-";
int sum;
cin>>sum;
data=data+sum;
}

void display(void)
{ cout<<"\nSum of Data is :-"<};


void main()
{
clrscr();
addition o1;
for(int i=0;i<10;i++)
{
o1.getdata(o1);
}
o1.display();
getch();
}