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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 20:00, serellehunt
Which type of file can be used to import data into a spreadsheet?
Answers: 1
image
Computers and Technology, 22.06.2019 23:00, brookerebman15
Which type of tab stop is most for weights and measurements?
Answers: 1
image
Computers and Technology, 23.06.2019 17:00, evanwall91
What does the faves button do? a. users mark a web page as a favorite b. leads other readers to favor a specific page c. readers sort and align their favicons, or favorite icons d. leads users to a message board where they can post questions
Answers: 1
image
Computers and Technology, 24.06.2019 00:00, BluedragonKBT44
The gene form of a trait is called a(n) 
Answers: 2
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 in other subjects:

Konu
Mathematics, 13.05.2021 04:30
Konu
English, 13.05.2021 04:30
Konu
Mathematics, 13.05.2021 04:30