subject

Write a program that produces an expense report for a trip to Lagos, Nigeria. Use the Internet to research the cost to travel to Lagos. The program requires the traveler's last name and convert the first character of the travels last name to uppercase and the rest to lowercase (this should happen regardless of how the user type the information). Concatenate the last name with the string "Expense Report" to produce the title of the report. The program should accept the airline fare, the number of nights at a local hotel (do your research), and the dollar amount a user wants to convert to Nigerian Naira. Ensure the currency exchange includes a 3% processing fee and 5% penalty charge when exchanging U. S dollars to Naira.
Note: Make sure your program used:
The decimals do not need to be aligned but they align the = signs for readability.
Constants and variables
Input data
Calculation includes totals
Output display with readable formatting
Use the NumberFormat class to format the monetary values and percentages.
String class
Check out the Payroll. java file that contains most of the syntax to help you get started.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
Businesses allocate resources for their best and most productive uses. the more a resource, the more costly it will be. a manufacturer that requires scarce and costly resources is likely to charge for its products.
Answers: 2
question
Computers and Technology, 22.06.2019 20:10
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
Which of these is a benefit of using objects in a powerpoint presentation? a. collaborators can create the external files while you create and edit the slide show. b. you can easily change the theme and design of the presentation. c. you can have older data in the source file while having up-to-date data in the presentation. d. collaborators can easily share the presentation.
Answers: 2
question
Computers and Technology, 24.06.2019 07:50
Write a defining table and then a program that determines if you can sleep in or not. your program should get all its input from your computer’s clock. on all weekdays (monday through friday) that are not holidays, your program should output “get up! ” on all other days (weekends and holidays), your program should output “sleep in.” the three holidays that your program must check for are january 1 (new year’s day), july 4 (u.s. independence day), and december 25 (christmas). you don’t need to include other holidays in your program because most other holidays do not occur on a fixed day each year.
Answers: 1
You know the right answer?
Write a program that produces an expense report for a trip to Lagos, Nigeria. Use the Internet to re...
Questions
Questions on the website: 13722363