资源大小: 4KB
发布时间: 2011-01-11
文件格式: rar
下载次数: 0
分享到:

下载地址:

下载地址1
(本站为飞网专业下载站,域名:down.cfei.net)

资源简介:

Write a Java payroll program called Payroll.java that determines pay and taxes. Set the following variables: pay = $25 per hour hoursWorked = 40Calculate grossPay by multiplying pay * hoursWorked. Calculate taxesWithheld by multiplying grossPay * .15. Calculate netPay by subtracting taxesWithheld from grossPay. Display all variables. Output:Gross pay: $1000.0Withholding tax: $150.0Net pay: $850.0


飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。