Find Jobs
Hire Freelancers

Java - Sort Strings

max $5 USD

已完成
已发布超过 20 年前

max $5 USD

货到付款
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: 3017894

关于此项目

3提案
远程项目
活跃20 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$1 USD 在1天之内
5.0 (83条评论)
6.3
6.3
3威客以平均价$3 USD来参与此工作竞价
用户头像
See private message.
$4.25 USD 在1天之内
5.0 (55条评论)
3.9
3.9
用户头像
See private message.
$3.40 USD 在1天之内
4.9 (6条评论)
2.1
2.1

关于客户

UNITED STATES的国旗
United States
5.0
1
会员自10月 22, 2003起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。