[solved] – Question 8693
getPatientPolicyNo( ):Returns the patient’s policy number.
If the patientPolicyNo is blank, then send a message to the screen and exit(2).
String getPatientPolicyNo( );
The compiler doesn’t recognize the “” (space) I have in my control statement. It doesn’t generate error. Can anyone help what I did wrong here? Thanks
String patientPolicyNo;
if (patientPolicyNo == “”)
{
cerr << “Invalid policy number” << endl;
exit(2);
}
return patientPolicyNo;
Expert Answer
OR

