{"id":21344,"date":"2023-06-04T05:47:18","date_gmt":"2023-06-04T05:47:18","guid":{"rendered":"https:\/\/www.goodacademic.com\/blog\/questions\/create-a-payroll-program-named-calcpay-that-allows-the-user-to-enter-two-double-value-sand-a-string-namely-hours-worked-hourly-rate-and-name\/"},"modified":"2023-06-04T05:47:18","modified_gmt":"2023-06-04T05:47:18","slug":"create-a-payroll-program-named-calcpay-that-allows-the-user-to-enter-two-double-value-sand-a-string-namely-hours-worked-hourly-rate-and-name","status":"publish","type":"questions","link":"https:\/\/www.goodacademic.com\/blog\/questions\/create-a-payroll-program-named-calcpay-that-allows-the-user-to-enter-two-double-value-sand-a-string-namely-hours-worked-hourly-rate-and-name\/","title":{"rendered":"Create a payroll program named CalcPay that allows the user to enter two double value sand a string namely hours worked, hourly rate and name."},"content":{"rendered":"<ol style=\"margin-top: 1em; margin-right: 0px; margin-left: 0px; font-size: 19px; cursor: auto; color: inherit;\">\n<li style=\"cursor: auto; color: inherit;\">Create a payroll program named CalcPay that allows the user to enter two double valuesand a string&nbsp;namely hours worked, hourly rate and name. After the user enters the rate, hours,and name&nbsp;the program should calculate the gross pay. Compute federal withholding tax which is subtracted from gross based on the following table: Hints:&nbsp; (100pts) Use methods as deemed appropriate. 0 to 99.99 6% 100.00 to 299.99 12% 300.00 to 599.99 18% 600.00 and up 21%. Create an output using printf format: the&nbsp;output should include: Name, hours, rate, deduct, gross and net. Also create an output file named &#8220;Payout.txt&#8221;&nbsp;Submit the program as an attachment<\/li>\n<\/ol>\n<p style=\"margin: 0.5em 0px 1em; font-size: 19px; cursor: auto; color: inherit;\">&nbsp;<\/p>\n<p style=\"margin: 0.5em 0px 1em; font-size: 19px; cursor: auto; color: inherit;\">\n<p style=\"margin: 0.5em 0px 1em; font-size: 19px; cursor: auto; color: inherit;\">Please submit with the following:<\/p>\n<p style=\"margin: 0.5em 0px 1em; font-size: 19px; cursor: auto; color: inherit;\">.java<\/p>\n<p style=\"margin: 0.5em 0px 1em; font-size: 19px; cursor: auto; color: inherit;\">.class<\/p>\n<p style=\"margin-top: 0.5em; margin-right: 0px; margin-left: 0px; font-size: 19px; cursor: auto; color: inherit;\">Sreenshot<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a payroll program named CalcPay that allows the user to enter two double valuesand a string&nbsp;namely hours worked, hourly rate and name. After the user enters the rate, hours,and name&nbsp;the program should calculate the gross pay. Compute federal withholding tax which is subtracted from gross based on the following table: Hints:&nbsp; (100pts) Use methods [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"disciplines":[211],"paper_types":[],"tagged":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/questions\/21344"}],"collection":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/questions"}],"about":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/types\/questions"}],"author":[{"embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/comments?post=21344"}],"version-history":[{"count":0,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/questions\/21344\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/media?parent=21344"}],"wp:term":[{"taxonomy":"disciplines","embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/disciplines?post=21344"},{"taxonomy":"paper_types","embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/paper_types?post=21344"},{"taxonomy":"tagged","embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/tagged?post=21344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}