WAP to input age of person and find whether the person is eligible to drive or not
CLS
INPUT"ENTER YOUR AGE";A
IF A >= 16 THEN
PRINT"YOU ARE ELIGIBLE TO DRIVE"
ELSE
PRINT"YOU ARE NOT ELIGIBLE TO DRIVE"
END IF
END
INPUT"ENTER YOUR AGE";A
IF A >= 16 THEN
PRINT"YOU ARE ELIGIBLE TO DRIVE"
ELSE
PRINT"YOU ARE NOT ELIGIBLE TO DRIVE"
END IF
END
Comments
Post a Comment