subject

Ahotel salesperson enters sales into a text file. prompt the user for the location and name of the output text file. each line contains the following, separated by semicolons: • the name of the customer. • the service sold. support: o breakfast o lunch o dinner o conference o tea o massage o + any others that strike your fancy • the amount • the date that the service has been/will be rendered. write a java program that reads such a file and displays the total amount for each service category. you will prompt the user for these inputs, and validate them. be sure that the user only inputs valid services, that the price is a valid floating point number, and that the date is a valid date. make sure the program can read a text file and that writes a separate file for each service category, containing the entries for that category. name the output files dinner. txt, conference. txt, and so on.

ansver
Answers: 3

Another question on Computers and Technology

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, 22.06.2019 23:30
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is [email protected] -
Answers: 1
question
Computers and Technology, 23.06.2019 04:00
Laire writes a letter to her grandmother, in which she describes an amusement park she visited last week. she adds pictures of that place in her letter. which feature of a word processing program will claire to remove unwanted parts of the pictures?
Answers: 3
question
Computers and Technology, 23.06.2019 05:20
What did creator markus “notch" persson initially call his game
Answers: 1
You know the right answer?
Ahotel salesperson enters sales into a text file. prompt the user for the location and name of the o...
Questions
question
Mathematics, 17.02.2021 23:20
question
Mathematics, 17.02.2021 23:20
question
Mathematics, 17.02.2021 23:20