तल दिइएको प्रोग्राममा रहेका गल्तीलाई सच्याएर पुनः लेख्नुहोस् : Rewrite the given program after correcting the bugs: REM to add record in an existing…
SEE Class 10 Computer Science · 2082 · Solved Question with Answer
तल दिइएको प्रोग्राममा रहेका गल्तीलाई सच्याएर पुनः लेख्नुहोस् :
Rewrite the given program after correcting the bugs:
REM to add record in an existing file
CLS
OPEN "Rec.Dat" FOR OUTPUT AS #1
SE:
INPUT "Enter Name, Class and Roll No."; Nm$, Cl, Rn
INPUT #2, Nm$, Cl, Rn
INPUT "More records (Y/N)?"; Y$
IF UCASE$(Y$)="Y" THEN GOTO SE
CLOSE "Rec.Dat"
END
