i have a problem in having returning a function. my problem is if i press Y then its need only to return in a cout that is to enter an account but it turns to return the whole cout including the customer type. so i only need to return to Enter an Account cout<< if i just going to enter Y or yes. Please help
switch(choice)
{
case 'B':
case 'b':
cout<<"\t\t----------------------------------------\n";
cout<<"\t\tEnter the number of basic service connections:";
cin>>bsconnect;
cout<<"\n\t\tEnter the number of premium channels used:";
case 'R':
case 'r':
cout<<"\t\t----------------------------------------\n";
cout<<"\t\tEnter the number of premium channels used:";
cin>>pc;
cout<<"\n\t\t----------------------------------------\n";
resBILL = (pc * pcc)+bpf+bsc;
cout<<"\t\t"<<name<<" your computer billing amount is:"<<resBILL;
cout<<"\n\t\t----------------------------------------\n";
cout << "\t\tDo you want to continue? - Y/N ";
cin >> restart;
cout<<"\n\t\t----------------------------------------\n";