QuestionQuestion

Transcribed TextTranscribed Text

Lab Overview Title of Lab: Change Calculator and Shipping Calculator in Python Summary – Part 1 Create a program that calculates the coins needed to make change for the specified number of cents. Summary – Part 2 Create a program that calculates the total cost of an order including shipping. Deliverables • 2 source code Python files. • A Word document containing both source code and the screen print of the program outputs. Lab Steps Part 1 – Change Calculator Sample Output: Change Calculator Enter number of cents (0-99): 99 Quarters: 3 Dimes: 2 Nickels: 0 Pennies: 4 Continue? (y/n): y Enter number of cents (0-99): 55 Quarters: 2 Dimes: 0 Nickels: 1 Pennies: 0 Continue? (y/n): n Bye! Specifications: • The program should display the minimum number of quarters, dimes, nickels, and pennies that one needs to make up the specified number of cents. • Assume that the user will enter a valid integer for the number of cents. • The program should continue only if the user enters "y" or "Y" to continue. Part 2 – Shipping Calculator Sample Output: =============================================================== Shipping Calculator =============================================================== Cost of items ordered: 49.99 Shipping cost: 7.95 Total cost: 57.94 Continue? (y/n): y =============================================================== Cost of items ordered: -65.50 You must enter a positive number. Please try again. Cost of items ordered: 65.50 Shipping cost: 9.95 Total cost: 75.45 Continue? (y/n): n =============================================================== Bye! Specifications: Use the following table to calculate shipping cost: Cost of Items Shipping Cost < $30.00 $5.95 $30.00 - $49.99 $7.95 $50.00 - $74.99 $9.95 > $75.00 Free • If the user enters a number that’s less than zero, display an error message and give the user a chance to enter the number again.

Solution PreviewSolution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

    By purchasing this solution you'll be able to access the following files:
    Solution.zip and Solution.docx.

    $105.00
    for this solution

    or FREE if you
    register a new account!

    PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

    Find A Tutor

    View available Python Programming Tutors

    Get College Homework Help.

    Are you sure you don't want to upload any files?

    Fast tutor response requires as much info as possible.

    Decision:
    Upload a file
    Continue without uploading

    SUBMIT YOUR HOMEWORK
    We couldn't find that subject.
    Please select the best match from the list below.

    We'll send you an email right away. If it's not in your inbox, check your spam folder.

    • 1
    • 2
    • 3
    Live Chats