12345678910111213141516171819
char homeownerStatus; char y, Y; string state; double income; string MO, mo, Mo, KS, ks, Ks; double creditAmount; cout << endl; cout << "Are you a homeowner [Y/N]?"; cin >> homeownerStatus; if (homeownerStatus == Y || y) { cout << "Resident state [MO or KS]: "; cin >> state; if (state == MO,mo,Mo) {
(homeownerStatus == Y || y)
(homeownerStatus == 'Y' || homeownerStatus == 'y' )
if (state == MO,mo,Mo)
if (state == "MO" || state == "mo" || state == "Mo")