Home  |  IT Zone  | Practice ZoneTips / Tricks  |  Did You Know  |  Inspirational  |  Health  |  Insurance  |  Universities  |  Forex  |  Mathematics  |  Illusions  |  Children Day Quotes  |  Be Aware  |  Articles  | Funny Pics | Entertainment | Songs | Simple Joys of Life |

A Qbasic Program To Display All Records In The File.

  • File contains name, class and roll no., marks of english and science of some students. (Qbasic Code)
CLS
OPEN "std.dat" FOR INPUT AS #1
PRINT "Name", "Class", "Roll", "English", "Science"
DO WHILE NOT EOF(1)
    INPUT #1, n$, cl, r, en, sc
    PRINT n$, cl, r, en, sc
LOOP
CLOSE #1
END

Share :

X
Back To Top

facebook main

Powered by Blogger.