LIVE Course for free

Rated by 1 million+ students
Get app now
0 votes
329 views
in Computer by (40 points)
A binary file “emp.dat” has structure [EID, Ename, designation,
salary].
i. Write a user defined function CreateEmp() to input data for
a record and create a file emp.dat.
ii. Write a function display() in Python to display the detail of
all employees whose salary is more than 50000.

Please log in or register to answer this question.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...