OPEN "BIRTH.DAT" FOR INPUT AS #1
CLS
FOR I = 1 TO 100
INPUT #1, SN$, AD$, DOB$, G$
M$ = LEFT$ (DOB$, 2)
M = VAL (M$)
IF M = 2 THEN PRINT SN$, AD$, DOB$, G$
NEXT I
CLOSE #1
END
Questions
Quick Access
Exam Capsule
MCQ
Articles
Institutes
Notices
Top Topics
A data file "BIRTH.DAT" has 100 records with students' names, addresses, dates of birth, and gender. Print all the records where the month of birth is February.
OPEN "BIRTH.DAT" FOR INPUT AS #1
CLS
FOR I = 1 TO 100
INPUT #1, SN$, AD$, DOB$, G$
M$ = LEFT$ (DOB$, 2)
M = VAL (M$)
IF M = 2 THEN PRINT SN$, AD$, DOB$, G$
NEXT I
CLOSE #1
END
Who is a system analyst? What are the characteristics of system analysts? 1
What are the different stages of the system development life cycle (SDLC) 1
What do you understand about AI? What are the negative and positive aspects of AI in society? 1
How does an AI application work? Can a computer really think with the aid of AI? 1
PathshalaNepal.com is a Registered Company of E. Pathshala Pvt Ltd Nepal. Registration number : 289280
© 2020. All right Reversed.E. Pathshala Pvt Ltd