Home  |  IT Zone  |  Tips / Tricks  |  Did You Know  |  Inspirational  |  Health  |  World Infos  |  Insurance  |  Universities  |  Forex  |  Mathematics  |  Illusions  |  Children Day Quotes  |  Fun / Jokes  |  Decent Quotes  |  Birthday Msgs  |  Good Morning Msgs  |  Good Night Msg  |  Husband Wife Jokes  |  Teacher Students Jokes  |  Insult Jokes  |  Love Quotes  |  Sad Quotes  |  Funny Pics  |  Be Aware  |  Articles  |  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 :

Twitter
Back To Top

facebook main

Powered by Blogger.