154.A
Sequential data file called "SEE.DAT" has stored data under the field
heading Symbol No., Name, English, Nepali, and Computer. Write a program to
display all the information of those students whose marks in Computer is more
than 80.
OPEN
"SEE.DAT" FOR INPUT AS #1
CLS
WHILE
NOT EOF (1)
INPUT #1, A, B$, C, D, E
IF E > 80 THEN PRINT A, B$, C, D, E
WEND
CLOSE
#1
END
No comments:
Post a Comment