Question: Please write it in C plus plus Language 4 WAZAIT Sdn Bhd is an ICT company which sells various types of computer accessories. Employees of

Please write it in C plus plus Language Please write it in C plus plus Language 4 WAZAIT Sdn Bhd

4 WAZAIT Sdn Bhd is an ICT company which sells various types of computer accessories. Employees of WAZAIT are entitled to claims when they work outstation. The following table shows the type of claims that an employee is entitled to Category Lodging (per day) (RM) 250.00 Allowance (RM) 100.00 B 80.00 200.00 150.00 C 60.00 Employees are also entitled to claim for mileage if they drive their own car. ALL CATEGORIES Distance travelled (km) 0-500 501-1000 More than 1000 Rate per km (RM) 0.75 0.65 0.55 should Write a program that inputs the employee's name, staff ID, job category and the distance travelled. Your program display the employee's name, staff ID and amount of the claim. Your program will keep on processing until a sentinel value is entered. Then, display the number of employees that have been processed and the total of their claims

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!