class Check
{
public:
Check()
{
calculate();
cout<<“Constructor”;
}
void calculate()
{
show();
cout<<“Calculating”;
}
void show()
{
cout<<“\n I am displaying”;
}
};
void main()
{
Check chk;
}
Answers
Answered by
0
hi hlo ghh hhhbbbbbhhiiyu
Similar questions