235k views
0 votes
The following code uses a nested if statement.

if (employed == 'Y')
cout << "Employed!" << endl;

else if (employed == 'N')
cout << "Not Employed!" << endl;

else
cout << "Error!" << endl;

a. True
b. False

User Troyer
by
5.0k points

1 Answer

1 vote

Answer:

true

Step-by-step explanation:

else if used so I think it's true

User Goseta
by
5.5k points