Posts

Showing posts from August, 2017

QBASIC PROGRAMS

                                                      QBASIC  1. Write a program that asks mark in any subject and display the message "Result Pass" if the input number is greater than 40.         CLS         INPUT "Enter marks in computer"; C         IF C> = 40 THEN PRINT "RESULT PASS" ELSE PRINT "RESULT FAIL"         END 2. Write a program that asks any two numbers and displays the greater one.         CLS         INPUT "ENTER FIRST NUMBER";A         INPUT "ENTER SECOND NUMBER";B         IF A>B THEN          PRINT " THE GREATER NUMBER IS";A         ELSE         PRINT "THE GREATER NUMBER ...