Computer Science, asked by tanmay7171, 8 months ago

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 Anonymous
3

Formula = HCF × LCM

so ..18× 18..144

so divided it by the divisor

Answered by madhurimachakuvis
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