Please help
i can't enter restart and test what do i need to do --thanks in advance.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
void main(){
char test,restart;
do{
cout<<"enter test"<<endl;
cin>>test;
switch(test){
case'test':
cout<<"This is a test \n";
break;
defualt:
cout<<"You did not enter test try again";
break;
}
cout<<"Enter restart"<<endl;
cin>>restart;
}while(restart=='restart')
}