#include<iostream.h>
#include<conio.h>
class test
{
private:
int a;
public:
{
cout<<"Enter Marks=";
cin>>a;
}
void show()
{
if(a>=40)
{
cout<<"\n Pass";
}
else
{
cout<<"\n Fail";
}
}
};
main()
{
clrscr();
t1.getdata();
t1.show();
getch();
}