• 100% Satisfaction Guarantee

LogicPro, Engineer
Category: Homework
Satisfied Customers: 11995
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
LogicPro is online now

CSCI 7-01 – Assignment 4 25 points, Due 10/24/2013 Your cruise

Customer Question

CSCI 7-01 – Assignment 4
25 points, Due 10/24/2013
Your cruise ship, the S.S. Rusty T. Buckette, hires out for dinner party cruises. A fund raising committee has
agreed to pay you \$30.00 per person provided that a minimum of 200 people sign up for a moonlight dinner
dance cruise. Anxious for business (and to pay your crew), you agree to lower your price by 50 cents per ticket
for EACH additional group of 10 people showing up over the minimum of 200. For example:
210 people Ticket Price is \$29.50
220 people Ticket Price is \$29.00
230 people Ticket Price is \$28.50
The ship's maximum carrying capacity is 500 passengers. You will incur a fixed cost of \$2,500.00 no matter how
many people show up. Your program should allow the following:
1. Compute the ticket price and profit for each group of passengers starting at 200, 210, 220, 230, 240,
250, ... , 490, 500).
2. Determine the maximum PROFIT, the number of passengers needed to generate that profit, and the ticket
price that will generate that profit.
3. Allow the program user (...that's you) to enter the proposed initial ticket price, the minimum passengers,
the maximum number of passengers that the ship can carry to calculate the ticket prices and profit for each
group of passengers (i.e. 200, 210, 220, 230, etc.). The loop will execute a different number of times
during the execution (Use a function to contain the calculations and resulting output?)
4. User can execute this any number of times. Logic should ask user if they wish to quit or continue.
Algorithms needed:
NP is the Number of Passengers
TP is the Proposed Ticket Price
MP is the Minimum Number of Passengers
Cost of Ticket = TP - (((NP - MP) /10) * .5)
Profit = (NP * Cost of Ticket) - 2500
Since you are "incrementing by 10 passengers", you will be using a loop.
Perform the calculations for the following data:
\$30.00 proposed ticket price
200 minimum passengers
500 maximum passengers
\$45.50 proposed ticket price
300 minimum passengers
500 maximum passengers
\$20.00 proposed ticket price
100 minimum passengers
500 maximum passengers
Your output should approximately look like:
1
CHABOT Community College
Number Ticket
Passengers Price Profit
300 \$20.25 \$3575.00
310 \$19.75 \$3622.50
320 \$19.25 \$3660.00
. . .
. . .
. . .
500 \$10.25 \$2625.00
Maximum Profit is \$3712.50
Ticket Cost to Generate Maximum Profit is \$17.75
Passengers Needed to Generate Maximum Profit is 350
The calculations are contained in a loop (either a while loop or for loop). You are generating a loop iteration for
each group of 10 passengers.
2
CHABOT Community College
Submitted: 2 years ago.
Category: Homework
Expert:  LogicPro replied 2 years ago.
Hi,
Welcome here.
Which vesion of python you are using?
Customer: replied 2 years ago.

Here is a pdf of the actual assignment. It is much easier to read. Keep in mind I'm not asking you to do my homework. But I feel behind due to a fever this week, and this assignment is due on the 24th at 12pm . I fell behind in my reading this week, and I have a vague idea of how to approach this, but I need guidance . The python version I'm using is 3.2

Expert:  LogicPro replied 2 years ago.
Thanks Gavin.
I will provide the answer ASAP
Customer: replied 2 years ago.

Thank you. I usually am able to do the assignment by myself. This really helps me though. I appreciate it. Now this allows me time to catch up on vital reading!

Expert:  LogicPro replied 2 years ago.
no problem. I am here to help
Customer: replied 2 years ago.

Whats the status on this?

Expert:  LogicPro replied 2 years ago.
Please check back in few hours
Customer: replied 2 years ago.

Will it be done by the 24th ( before 12pm my time)?

Expert:  LogicPro replied 2 years ago.
yes, please check back in 4-5 hours.
Customer: replied 2 years ago.

thank you. Out of curiousity, will this assignment be completed in full or will further work be required of me? Just need to know what to expect .

Expert:  LogicPro replied 2 years ago.
I will provide you complete answer
Expert:  LogicPro replied 2 years ago.

You need to spend \$3 to view this post. Add Funds to your account and buy credits.
LogicPro, Engineer
Category: Homework
Satisfied Customers: 11995
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Expert:  LogicPro replied 2 years ago.
Hi Gavin George ,
Just following up with you to see how everything is going and if you have more questions for me.
You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.
It will ensure that question is for me.
so you can come back and ask me a question anytime.
I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!
Thanks very much for using Just Answer!
Best wishes
LogicPro
Customer: replied 2 years ago.

hey i have another question?

Expert:  LogicPro replied 2 years ago.
Please post a new question using "For LogicPro only" under my profile:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Previous | Next >
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
• I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
• Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
• Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
• He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX

• LogicPro

Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >

LogicPro

Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Satisfied Customers:

4538
More than 5000 online tutoring sessions.

Linda_us

Satisfied Customers:

3138
Post Graduate Diploma in Management (MBA)

Chris M.

Satisfied Customers:

2602
Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

Satisfied Customers:

2126
Experience with chartered accountancy

Bizhelp

Satisfied Customers:

1887
Bachelors Degree and CPA with Accounting work experience