logo Use SA10RAM to get 10%* Discount.
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Nathaniel KellyComputer science
(5/5)

901 Answers

Hire Me
expert
Hemidov MuradManagement
(5/5)

921 Answers

Hire Me
expert
Ronni AnconaComputer science
(5/5)

533 Answers

Hire Me
expert
Charlie BilyeuBusiness
(4/5)

698 Answers

Hire Me
Java Programming

Write a program that allows an accountant to specify the regular hours worked, the hourly rate, the number of hours worked overtime and the percentage increase in hourly rate for the overtime

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS
  1. Your company provides IT consultancy services to the public sector, and the financial department in each country wants a program to print invoices for their national customers. Write a program that allows an accountant to specify the regular hours worked, the hourly rate, the number of hours worked overtime and the percentage increase in hourly rate for the overtime. Here is an example of a dialogue between the program and the user:

Invoice preparation for IT ConsultPro Inc. Your national currency is EUR

Enter the client name [string]: ISTvAbns

Enter the regular working hours [decimal number]: 120.0 Enter the hourly rate [decimal number]: 60.0

Enter the number of hours worked overtime [decimal number]: 40.0 Enter the percentage increase in hourly rate [decimal number]: 25.0 Based on this information, the program should print a formatted invoice: IT ConsultPro Inc. - Invoice for ISTvAbns

Regular working hours : 120 hours a 60 EUR: 7200 EUR Overtime work : 40 hours a 75 EUR: 3000 EUR

------------------------------------------------------

Total : 10200 EUR

The national currency used should be defined as a constant in the program. The name of the client company can be read by the following code: Scanner keyboard = new Scanner(System.in);

String clientName = keyboard.nextLine();

Any input on the current line will be read as one string and assigned to the client- Name variable. This code allows text with multiple words to be read as one string, for example "ISTvAbns".

  1. Write a program that reads a line of text from the keyboard, and prints an acronym formed from the first letter of each

Example:

Enter a line of text: Just another valuable artifact JAVA

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

276 Experts Online