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 11:00
in 2007, floridians died in alcohol-related collisions.a.  501b.  1,051c.  5,015d.  10,839
Answers: 1
question
Computers and Technology, 22.06.2019 13:30
1. technician a says horsepower information can be used by consumers to compare the power of different automobile engines. technician b says that manufacturers will often list the horsepower output of their engines in the online service information. who is right?
Answers: 2
question
Computers and Technology, 22.06.2019 17:30
Working on this program in python 3.7: a year in the modern gregorian calendar consists of 365 days. in reality, the earth takes longer to rotate around the sun. to account for the difference in time, every 4 years, a leap year takes place. a leap year is when a year has 366 days: an extra day, february 29th. the requirements for a given year to be a leap year are: 1) the year must be divisible by 42) if the year is a century year (1700, 1800, the year must be evenly divisible by 400some example leap years are 1600, 1712, and 2016.write a program that takes in a year and determines whether that year is a leap year.ex: if the input is 1712, the output is: 1712 is a leap year. ex: if the input is 1913, the output is: 1913 is not a leap year. your program must define and call the function isleapyear(useryear). the function should return true if the input year is a leap year and false otherwise.
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Open this link after reading about ana's situation. complete each sentence using the drop-downs. ana would need a minimum of ato work as a translator. according to job outlook information, the number of jobs for translators willin the future.
Answers: 3
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
question
English, 07.02.2021 14:00
question
Mathematics, 07.02.2021 14:00
question
Mathematics, 07.02.2021 14:00
question
Mathematics, 07.02.2021 14:00
Questions on the website: 13722367