CBSE BOARD XII, asked by amritanshu883, 4 months ago

A binary file named “EMP.dat” has some records of the structure
[EmpNo, EName, Post, Salary]
(a) Write a user-defined function named NewEmp() to input the details of a
new employee from the user and store it in EMP.dat.
(b) Write a user-defined function named SumSalary(Post) that will accept an
argument the post of employees & read the contents of EMP.dat and
calculate the SUM of salary of all employees of that Post.

Answers

Answered by adhayandutt08122009
0

Answer:

he is incorrect ( make negative)

Similar questions