Computer Science, asked by harshsultaniais, 6 months ago

write a program in qbasic where you enter a person name of the age is greater than 18 then it is display the name then age it will show the message you are eligible for vote or you are not eligible vote those who tell fast and tell right i will mark him branliest​

Answers

Answered by singhaasha189
1

Answer:

CLS

INPUT"enter the name" ;A$

INPUT "ENTER THE AGE";N

PRINT A$

IF N>18 THEN

PRINT"IS ELIGIBLE TO VOTE"

ELSE

PRINT"IS NOTELIGIBLE TO VOTE "

END IF

END

Similar questions