
a. Name
b. Address
c. Class
d. Roll number
e. Section
f. House
OPEN "info.dat" FOR OUTPUT AS #1
FOR I=1 TO 5
INPUT "Enter your name "; n$
INPUT "Enter your address "; ad$
INPUT "Enter your class "; cl
INPUT "Enter your roll number "; rn
INPUT "Enter your Section "; s$
INPUT "Enter your House "; h$
WRITE #1, n$, ad$, cl, rn s$, h$
NEXT I
CLOSE #1
END