OPEN "EMPLOYEE.DAT" FOR INPUT AS #1
CLS
FOR I = 1 TO 25
INPUT #1, EMP$, PO$, SAL, AG
AL = (20/100) * SAL
T = (10/100) * (AL + SAL)
PRINT EMP$, PO$, SAL, AG
PRINT AL, T
NEXT I
CLOSE #1
END
Questions
Quick Access
Exam Capsule
MCQ
Articles
Institutes
Notices
Top Topics
A data file "EMPLOYEE.DAT" has records of 25 employees with the following fields employee names, posts, salary, and age. Calculate allowance as 20% of salary and tax as 10% of Salary + allowance. Print all the information.
OPEN "EMPLOYEE.DAT" FOR INPUT AS #1
CLS
FOR I = 1 TO 25
INPUT #1, EMP$, PO$, SAL, AG
AL = (20/100) * SAL
T = (10/100) * (AL + SAL)
PRINT EMP$, PO$, SAL, AG
PRINT AL, T
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