1)write a program in qbasic to accept age and nationality of a person. If age is 18 or more than 18 and nationality is ''indian'' the print ' eligible to vote' otherwise print " not eligible to vote"
Answers
Answered by
3
Formula = HCF × LCM
so ..18× 18..144
so divided it by the divisor
Answered by
5
Answer:
CLS
INPUT "ENTER YOUR AGE";A
INPUT "ENTER YOUR NATIONALITY";B$
IF A>=18 AND B$="INDIAN" THEN
PRINT "ELIGIBLE TO VOTE
ELSE
PRINT "NOT ELIGIBLE TO VOTE"
END IF
END
Please mark me as Brainliest
Similar questions