You can just see if AWUTD is y or n and display what you want.
cout<<"Patients Name:"<<Pname<<endl;
cout<<"Patients Age:"<<age<<endl;
cout<<"Patients Current Employer:"<<CEmployer<<endl;
if(AWUTD=='y'||AWUTD=='Y')
{
cout<<"Work up to date:Yes"<<endl;
}
else if(AWUTD=='n'||AWUTD=='N')
{
cout<<"Work up to date:No"<<endl;
cout<<"Specification:"<<AWUTDspecification<<endl;
}
I added the specification if it was no, too.