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, 21.06.2019 23:00
The animal classthis class represents a an animal residing at a zoo. it has a weight (in pounds),height (in inches), a name, and a color. the methods in the class include constructors,getters, and a tostring. you will finish the implementation of these methods. referto the code documentation.1.getters: you will need to implement getter methods. these get a value (froma member variable) in the animal class. you will make a getter method toreturn each variable (weight, height, name, color). reference getname if youare having issues.2.tostring: you will need to finish the tostring method. this returns a stringcontaining information about an animal. the output string should be of theformat: ” (name) , a ( color )â’colored animal . ( weight ) pounds , ( height ) inches .\n”the height and weight are formatted to 1 decimal place. recall from lab 1how to format strings neatly using string. see the reference sectionfor more about string.format.
Answers: 2
question
Computers and Technology, 22.06.2019 09:30
Is a string of code written to hurt others by damaging or destroying
Answers: 1
question
Computers and Technology, 22.06.2019 12:30
Which of the choices sean are not true when considering virus behavior
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
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, 02.04.2021 08:50
question
Biology, 02.04.2021 08:50
question
Mathematics, 02.04.2021 08:50
question
Mathematics, 02.04.2021 08:50
Questions on the website: 13722360