154k views
8 votes
Write a qbasic progrsm to check pass or fail​

1 Answer

2 votes

Explanation:

CLS

INPUT " Enter total marks "; M

IF M > 40 THEN

PRINT "You are passed "

ELSE

PRINT " You are failed "

END IF

END..

User Dylan KAS
by
4.6k points