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 Program To Display Records From File "std.dat"

  • Make a program to display records from a file 'std.dat'. File contains name, class and roll no., marks of english and science of a student. (qbasic code)
  • CLS
    OPEN "std.dat" FOR INPUT AS #1
    INPUT #1, n$, cl, r, en, sc
    PRINT "Name: "; n$
    PRINT "Class: "; cl
    PRINT "Roll:"; r
    PRINT "Marks In English:"; en
    PRINT "Marks In Science:"; sc
    CLOSE #1
    END

Share :

Twitter
Back To Top

facebook main

Powered by Blogger.