#include <iostream.h> void main() { char c,d; cout<<"please input first zimu:"; wode: cin>>c; int i=c; switch(c) { case 'm': cout<<"Monday"<<endl; break; case 'w': cout<<"Wednesday"<<endl; break; case 'f': cout<<"Friday"<<endl; break; case 't': cin>>d; if(d=='u') cout<<"Tuesday"<<endl; else cout<<"Thursday"<<endl; break; case 's': cin>>d; if(d=='a') cout<<"Saturday"<<endl; else cout<<"Sunday"<<endl; break; default: cout<<"Error input!";goto wode; } }