Find Jobs
Hire Freelancers

Assume that you have an array declared as: double[] scores = new double[50]; and that every compartment of the array contains a real number between 0.0 and 100.0 inclusive.

$10-30 USD

已完成
已发布大约 10 年前

$10-30 USD

货到付款
1. Assume that you have an array declared as: double[] scores = new double[50]; and that every compartment of the array contains a real number between 0.0 and 100.0 inclusive. a. A passing score is 70.0 or higher and a failing score is less than 70.0. Write a code segment to calculate the number of passing scores and the number of failing scores in the array. b. Write a code segment which calculates and displays the average of the scores in the array 2. Assume that an arrays has been defined: int[] par = new int[18]; int[] strokes = new int[18]; Assume that every compartment of the arrays contains an appropriate integer value representing the par value and the number of strokes made by a golfer on each hole of an eighteen hole golf course. a. Write a code segment that calculates and displays the number of holes upon which the golfer made an eagle. To make an eagle, the number of strokes made by the golfer must be two fewer than the par value for the hole. b. Write a code segment to display the hole numbers for all holes on which the golfer missed par. To miss par, the number of strokes on the hole must be greater than the par value for the hole. 3. Write a code segment which accepts the price of a tour. A tour is priced between 29.95 and 249.99. Your code segment should handle any user input nicely and should continue to repeat until a valid price is entered. Example: The user enters: 15. You ask again The user enters: bb You ask again The user enters: 250 You ask again The user enters: 75.12 Exit   4. A ticket to a Waikiki show must store, Show Date and Time (a String), Seat Information (a String), and Price (a double). A VIP ticket to the same show includes dinner and must also store Meal Choice (a String). Code the class heading, variable declarations and constructors for the “Ticket” and “VIPTicket” objects. “VIPTicket” is a subclass of the “Ticket” class and inherits all of its instance data variables.
项目 ID: 5888180

关于此项目

4提案
远程项目
活跃10 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
hello..........message me ............i have seen your assignment .......i can get this done today............waiting for your reply...............thnx.......best Regards
$23 USD 在0天之内
4.8 (39条评论)
4.8
4.8
4威客以平均价$23 USD来参与此工作竞价
用户头像
I am a senior Java developer with 5 years experience. I am hard working and responsibilities. Let talk with me, I can help you.
$30 USD 在0天之内
4.5 (15条评论)
4.3
4.3
用户头像
Greetings, I'm a programmer and i'm working for a Portugal Company. I have a lot experience of Java and i understand what are you asking. I just need you send me your project or the part of your project that handles with this arrays to provide you the solution. Best Regards, Armando Freitas.
$15 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi, I have 10+ years experience in web designing, programming. I am certified designer. My Skillsets: - adobe photoshop - adobe dreamweaver - adobe flash - adobe illustrator -HTML5,CSS,Javascript,AJAX,PHP I have done projects in - web site creation - web portal creation - responsive design - logo designs - CMS (content Management Systems) using wordpress - Flash animations - Powerpoint presentations Thanks Christy
$25 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Wahiawa, United States
5.0
1
付款方式已验证
会员自5月 2, 2014起

客户认证

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