Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Mathis Bros. furniture store gets desk lamps and coffee tables from your company. Each desk lamp costs $65 and each coffee table costs $155. Write

Mathis Bros. furniture store gets desk lamps and coffee tables from your company. Each desk lamp costs $65 and each coffee table costs $155. Write a flow chart or pseudo code, and Python source code for a program, which Mathis Bros. can run on your website to compute what their invoice total will be when they order a certain number of lamps and coffee tables from your company. The program will prompt Mathis Bros. buying clerk to first enter the number of desk lamps they wish to purchase and then ask them the number of coffee tables they would buy. Next you would ask the type of wood of the coffee tables(call a function). Then the program would compute the cost of their purchase and print that to console. Use your Project 1 as a starting place. Modify Project 1: Create a function to do the following: In addition to the input requested above, for inventory you need to request the type of wood the coffee tables are including the following options stated in your request:(use if/else) Mahogany, add $75 per table Oak, add $100 per table Pine, no charge is added Output all input !! Use named constants where appropriate (hint: extra fees for type of wood, costs of items) Please submit the following: Flowchart/pseudocode and/or comments inside the python -(12pts) Python (10pts)(must work and give correct output for full credit) Coded python logic error (8pts) PDF and python correctly put into the Assignments folder in D2L as P2_yourinitials.py(3pts) Following is sample Test Run using userInput 2 lamps and 3 tables and mahogany wood.(The output does not need to have the exact words that I usedjust the output amounts should be the same.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Outlook 2023

Authors: James Holler

1st Edition

B0BP9P1VWJ, 979-8367217322

More Books

Students also viewed these Databases questions

Question

Is it aimed at a particular market?

Answered: 1 week ago

Question

Explain methods of metal extraction with examples.

Answered: 1 week ago