Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem Description: You will write a program for a computer building shop. The shop wants to let the user choose parts from a menu for

Problem Description:
You will write a program for a computer building shop. The shop wants to let the user choose parts from a menu for their custom computer. The progarm will also ask the user how much money they want to spend. Once they have selected the parts the program will indicate how much the computer will cost and will print out whether the user can afford their selected computer.
Each computer must have the following components:
Motherboard
Power Supply
Keyboard and Mouse (comes as a set)
SSD Drive
Monitor
The options are:
Keyboard A =$120
Keyboard B - $80
Motherboard A - $460
Power Supply A - $112
Power Supply B - $80
SSD Drive 1TB=$180
SSD Drive 4 TB - $450
Monitor A - $145
Monitor B - $250
Input:
Enter how much money you want to spend
Select Keyboard A or B
Select Power Supply A or B
Select 1TB or 4TB SSD
Select monitor A or B
Output:
Your computer costs XXXX and your budget is XXXX
You can/cannot afford this computer
Using the information contained in the Lecture 2 video, write the pseudocode that implements the program.
Write down the logic for this program.
Create the Python code to implement this design.
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions

Question

Q.No.1 Explain Large scale map ? Q.No.2 Explain small scale map ?

Answered: 1 week ago