-->

Monday, June 30, 2025

Qbasic program to read the contents of data file emp.dat and to print on screen | SEE computer science datafile program reading

 


QBasic programs collection-Especially for SEE (Grade-10)


QBasic Datafile programming of questions asked in 2080



QBasic program read the contents of datafile and display on screen SEE 2080 B.S.


Open "emp.dat" For Input As #12

While Not EOF(12)

    Input #12, name$, address$, gender$, salary

    If salary > 60000 Then

        Print name$, address4, gender$, salary

    End If

Wend

Close #12

End