Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following code snippets is an example of a nested conditional statement?
if (iAge < 18) then ShowMessage('You are not old enough to vote.')else ShowMessage('You are old enough to vote.');
if (iTemperature > 30) then ShowMessage('It's hot!');
if (iX > iY) then ShowMessage('X is greater than Y.');if (iX < iY) then ShowMEssage('X is less than Y.');if (iX = iY) then ShowMEssage('X is equal to Y.');
if (iGrade >= 60) and (igrade < 70) then ShowMessage('You got a C.')else if (grade >= 70) then ShowMessage('You got a B.');
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!