Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Weekly employee time card of an organization has three data items an identification number, the hourly wage rate, and the number of hours worked during

image text in transcribed
Weekly employee time card of an organization has three data items an identification number, the hourly wage rate, and the number of hours worked during a given week. Each employee is paid one and half of the wages for all hours worked over 40 hours. A tax amount of 3.625% of gross wages will be deducted. Given an identification number, hourly wage rate and number of hours worked write a C program to display the employee's number and net pay separated by a tab. Round the net pay of the employee to three decimal places Input Format First line contains the identification Number Next line contains the hourly wage rate Next line contains the number of Hours worked Output Format Print the Employee number and net pay separated by a space Input: 1001 50 40 Output: 1001 1927.500 For example: Test Input Result 1 1001 1927.500 1001 50 40

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions

Question

Outline die general approach for developing location alternatives.

Answered: 1 week ago

Question

Describe the nature of negative messages.

Answered: 1 week ago