Maverick340
Ambassador of Buzz
Code:
#include<iostream.h>
void main()
{
int d;
char a;
cout<<"Please enter your Date of Birth In the following Format :";
cout<<"DD\n" ;
cin>>d;
switch(d)
{
case (1): a="One";
break;
case (2) :a="Two";
break;
case (3) :a="Three";
break;
default:a="Null 0000";
}
cout<<a;
}
Whats wrong???