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?

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?

A.
FalseFalse

B.
FalseTrue

C.
TrueFalse

D.
TrueTrue



Leave a Reply 0

Your email address will not be published. Required fields are marked *