Computer Science, asked by yashverma4008, 3 months ago

Q14. (a) Create a binary file
employee" that stores the records of
employees (5)
and display them one by one.
(b) Display the records of all
those employees who are getting
salaries
between 30000 and 50000.​

Answers

Answered by DP00
0

ANSWER:

def readfile()

i = open("Employee.dat","rb+")

x = i.readline()

while(x):

I=x.split(':')if(30000>=float(I[2])<=5000):

print x x = i.readline()

Similar questions