Computers and Technology

FitnessFirst FitnessFirst Gyms utilize a member ID and the number of minutes to make massage reservations. Write a program that receives a string of 6 characters as a member ID and a number of minutes. Format the member ID as demonstrated below. Input: R4E877 Display: R4-E87-7 If the user enters characters in lowercase, it should still display the characters in uppercase. Your program should capitalize any letters it comes across. Input: x83rws Display: X8-3RW-S Use JOptionPane windows to get the string for the member id and the number of minutes for the massage. Return a confirmation JOptionPane window with newly formatted Member ID and translation of massage time into hours and minutes. Use good variable names and place comments throughout the source code explaining what you are doing. You do not need a comment for every line but provide some details of what you are attempting to do. Your program will have two prompts for data (member id and number of minutes) and return one window with the newly formatted memberId and the number of minutes translated into hours and minutes. For example: Fitness First Message Example Name your program FitnessFirstYourLastName and upload the completed .java file. Make sure you put your name in a comment at the top. This assignment is worth 10 points.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:30, sayedaly2096
What type of file does a cookie place on web site visitors' computers so that web site managers can customize their sites to their visitors' preferences?
Answers: 1
image
Computers and Technology, 22.06.2019 19:30, bstine6678
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 1
image
Computers and Technology, 22.06.2019 23:30, ansonhunter8891
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
image
Computers and Technology, 23.06.2019 01:30, solikhalifeoy3j1r
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
Do you know the correct answer?
FitnessFirst FitnessFirst Gyms utilize a member ID and the number of minutes to make massage reserva...

Questions in other subjects: