Connect Me

twitterfacebookgoogle plus email

  Instagram View Biwas Bhattarai's profile on LinkedIn

WAP to create a data file “info.dat” and enter the following details for 5 students.

WAP to create a data file “info.dat” and enter the following details for 5 students.
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
Ą
https://www.flickr.com/photos/spklg/15211044551/