ARRAY in QBASIC
Greatest among 5 numbers using Array CLS DIM num(4) PRINT “Enter any any 5 numbers” FOR j = 0 TO 4 INPUT num(j) NEXT j lrg = num(0) FOR j …
ARRAY in QBASIC Read MoreGreatest among 5 numbers using Array CLS DIM num(4) PRINT “Enter any any 5 numbers” FOR j = 0 TO 4 INPUT num(j) NEXT j lrg = num(0) FOR j …
ARRAY in QBASIC Read MoreDisplay the factorial of input number SUB Procedure DECLARE SUB FACT (N) CLS INPUT “Enter any number”; N CALL FACT(N) END SUB FACT (N) F = 1 FOR J = …
Modular Programming in Q BASIC Examples 2 Read MorePW: PASSWORD DECLARE FUNCTION age! (a!) DECLARE SUB DeleteRec () DECLARE SUB SearchRec () DECLARE SUB AddRec () DECLARE SUB EditRec () DECLARE SUB DelRec () DECLARE SUB MENU () …
QBasic Project 3-Record Management Read MoreCLICK HERE TO FIND OUT NUMERIC PATTERNS USING SUB PROCEDURE CLICK HERE TO FIND OUT NUMERIC PATTERNS IN QBASIC (WITHOUT SUB OR FUNCTION) CLICK HERE TO FIND OUT STRING PATTERNS …
STRING PATTERN SUB PROCEDURE Read MoreMORE PROGRAM RELATED TO SUB PROCEDURE (CLICK HERE) MORE PROGRAMS RELATED TO FUNCTIONS (CLICK HERE) MORE PROGRAMS RELATED TO NUMERIC PATTERN IN QBASIC (CLICK HERE) MORE PROGRAMS RELATED TO STRING …
SUB PROCEDURE Numeric Patterns and Series Read MoreString Pattern N NE NEP NEPA NEPAL CLS A$=”NEPAL” FOR I = 1 TO LEN (A$) PRINT LEFT$(A$,i) NEXT i END Display NEPAL NEPA NEP NE N CLS A$ = …
String Pattern in QBasic Read MoreLibrary Functions (Click Here) Convert Decimal to Binary CLS INPUT “ENTER DECIMAL NUMBER” ; D WHILE D < > 0 R = D MOD 2 S$ = STR$(R) + S$ D …
Library Functions of QBasic Examples Read MoreDECLARE SUB add () DECLARE SUB display () DECLARE SUB appendr () DECLARE SUB searchn () DECLARE SUB searchp () DECLARE SUB delete () DECLARE SUB bill () DECLARE SUB …
QBasic Project 2 Read MoreProject 1 Top: CLS PRINT STRING$(25, “-“) COLOR 2 PRINT TAB(10); “STRING MANIPULATION SYSTEM” PRINT STRING$(25, “-“) PRINT TAB(10); “Choices”, “Operations” PRINT TAB(10); 1, “Check Palindrome Word” PRINT TAB(10); 2, …
QBasic String Read MoreTo find positive negative or zero. CLS INPUT “Enter any number” ; a IF a > 0 THEN PRINT “The number is positive” ELSEIF a < 0 THEN PRINT “The …
IF Statement and FOR Statement in QBasic Examples Read More