WAP to find the greater number among three different numbers?

ALK
By -
0

ANS:
CLS
Input "Enter the first number:";a
Input "Enter the second number:";b
Input "Enter the third number:";c
if a>b and a>c then
 print a;" is greater."
 elseif b>a and b>c then
 print b; "is greater."
 else
 print c; "is greater."
END if
END

Post a Comment

0Comments

Feel free to leave your comment below or get in touch with me on WhatsApp/Viber number: +9779844128670

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn more
Ok, Go it!