String Pattern in QBasic
String 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 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 MoreMORE PROGRAM RELATED TO NUMERIC PATTERN USING SUB PROCEDURE (CLICK HERE) Series WAP to display the series 2 3 5 8 12 17………. upto 10th terms CLS i = 2 …
Numeric Pattern in QBasic 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