A binary file "GIFTS.DAT" has strusture:
{" Gift_ID ":value, " Name ":value, " Remarks ":value, " Price ":value}
i. Write a function BUMPER() in Python to read each record of a binary file
GIFTS.DAT, find and display details of those gifts, which has remarks as
"ON DISCOUNT".
ii. Write a function TRANSFER( ) in python, that would copy all
those records which are having price greater than 500 to
G_COPY.DAT .
Answers
Answered by
10
Answer:
Let the salary of Meeta be Rs.x
Money saved by Meeta =Rs.400
Now according to the question,
10% of x=400
10010×x=400
10x=400
⇒x=4000
Hence the salary of Meeta is Rs.4000.
abhinav88520:
i gived you 10 thanks give me 20 thanks please
Similar questions