Find Jobs
Hire Freelancers

Java - Sort Strings

max $5 USD

Concluído
Publicado há mais de 20 anos

max $5 USD

Pago na entrega
Write a program that will allow reports to be output sorted by each type of service offered. Create a class for services offered by a hair styling salon. Data fields include a String to hold the service description (for example, "Cut", "Shampoo", or "Manicure"), a double to hold the price, and an integer to hold the average minutes it takes to perform the service. The class name is HairSalon. Include a constructor that requires arguments for all three data fields and three get methods that each return one of the data field's values. Write a program named SortSalon that contains an array to hold six HairSalon objects and fill it with data. Include a method to sort the array in ascending order by price of service. Call the method and display the results. Add a second method to the SortSalon program that sorts the HairSalon objects in alphabetical order by service description. Call the method and display the results. Finally, add a prompt to the SortSalon program giving the user three choices: sort by description, price, or time. Depending on user's input, call one of the three sort methods and display the results. Below is the data for the program: Services Prices Time Cut $8.00 15 Shampoo $4.00 10 Manicure $18.00 30 Style $48.00 50 Permanent $18.00 55 Trim $6.00 5 ## Deliverables 1. Program must be written in very simple language so a real beginner can understand and able to explain the codes. 2. Program must be written in Java language and work on Java JRE 1.4 or above. 3. Program must be well commented and documented. 4. Program must work on a Windows platform. 5) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 6) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 7) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). ## Platform Windows
ID do Projeto: 3017894

Sobre o projeto

3 propostas
Projeto remoto
Ativo há 20 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
See private message.
$1 USD em 1 dia
5,0 (83 avaliações)
6,3
6,3
3 freelancers estão ofertando em média $3 USD for esse trabalho
Avatar do Usuário
See private message.
$4,25 USD em 1 dia
5,0 (55 avaliações)
3,9
3,9
Avatar do Usuário
See private message.
$3,40 USD em 1 dia
4,9 (6 avaliações)
2,1
2,1

Sobre o cliente

Bandeira do(a) UNITED STATES
United States
5,0
1
Membro desde out. 22, 2003

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.