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: 12269
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 2 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 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!


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

Whats the status on this?

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

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

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 .

I will provide you complete answer

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro, Engineer
Category: Homework
Satisfied Customers: 12269
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
LogicPro and 4 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:

JustAnswer in the News:

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... seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like
...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

Meet The Experts:

  • LogicPro



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >
  • LogicPro's Avatar



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany


    Satisfied Customers:

    More than 5000 online tutoring sessions.
  • Linda_us's Avatar


    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    Post Graduate Diploma in Management (MBA)
  • Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    Experience with chartered accountancy
  • Bizhelp's Avatar



    Satisfied Customers:

    Bachelors Degree and CPA with Accounting work experience
  • Seanna's Avatar



    Satisfied Customers:

    3,000+ satisfied customers, all topics, A+ work

Related Homework Questions