Gross_salary = basic - ((days_absent / working_days) * basic) Printf("sorry, you have already entered the details of all clerks\n") ĭays_present = working_days - days_absent Printf("enter your choice for employee designation\n 1.clerk \n 2.computer operator\n 3. Printf("\n enter details of employees\n") Int clerk_counter = 0, operator_counter = 0, salesman_counter = 0, helper_counter = 0, max = 0 Printf("Enter 1 to enter employee details and 2 to display salary\n") I am can anyone let me know what mistake(s) are there in this program? #include Ĭhar name, designation, empid įloat basic, days_absent, days_present, gross_salary, pf, allowance, net When i run the program, it says invalid pointer, even though i havent used a pointer of days worked during the month, date of generation of the payslip, month for which the salary is being paid, all the details of the payment, deductions, gross-pay and net-pay. The payslip should display the employee no., employee name, no. ![]() Assumptions can be made wherever necessary. ![]() ![]() ![]() Write an interactive program to generate pay slips for the staff of size 12 employees (2 members are clerks, one computer operator, 6 salesmen, 3 helpers), working in a small chemist retail shop.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |