PrepAway - Latest Free Exam Questions & Answers

What is the result of executing this program code?

Consider the following program code:
if (“Apple” gt “Pear”)
{
print(“True “);
}
else
{
print(“False “);
}

if (“Banana” le “Banana”)
{
print(“True “);
}
else
{
print(“False “);
}
What is the result of executing this program code?

PrepAway - Latest Free Exam Questions & Answers

A.
FalseFalse

B.
FalseTrue

C.
TrueFalse

D.
TrueTrue


Leave a Reply