logo

Crowdly

Browser

Add to Chrome

What is the result of the following nested IF-THEN statement?  var   iAge,...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What is the result of the following nested IF-THEN statement? 

var 

 iAge, iWeight: Integer; 

begin

 iAge := 22;

 iWeight := 75;

 if (iAge >= 18) then

  if (iWeight > 75) then

   ShowMessage('You are eligible to donate blood');

  else

   ShowMessage('You are not eligible to donate blood');

 else

  ShowMessage('You are not old enough to donate blood');

end;

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on campus.uctonlinehighschool.com?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome