#include<iostream.h>
#include<conio.h>
class test
{
int a;
public:
{
cout<<"Enter Code=";
cin>>a;
}
void show()
{
{
case 1:
{
cout<<"Sunday";
break;
}
case 2:
{
cout<<"Monday";
break;
}
case 3:
{
cout<<"Tuesday";
break;
}
{
cout<<"Error In Code";
break;
}
}
}
};
main()
{
clrscr();
t1.getdata();
t1.show();
getch();
}