How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro, Engineer
Category: Homework
Satisfied Customers: 12353
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

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

This answer was rated:

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:
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.
CHABOT Community College
Welcome here.
My name is XXXXX XXXXX I will help you.
Which vesion of python you are using?
If you have any file(s), Zip all files; upload the zipped file to or and post download link here.
What is the deadline?
Customer: replied 3 years ago. - Google Drive.pdf


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

Thanks Gavin.
I will provide the answer ASAP
Customer: replied 3 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!


no problem. I am here to help
Customer: replied 3 years ago.

Whats the status on this?

Please check back in few hours
Customer: replied 3 years ago.

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

yes, please check back in 4-5 hours.
Customer: replied 3 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 .

I will provide you complete answer

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and other Homework Specialists are ready to help you
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.
Please bookmark my profile page:
so you can come back and ask me a question anytime.
If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.
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
Customer: replied 2 years ago.

hey i have another question?

Please post a new question using "For LogicPro only" under my profile:

Related Homework Questions