Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NEED THIS SOLVED IN PYTHON 3. A video game store sells a video game CD that sells for 990 Rupees each. The store gives quantity

image text in transcribedNEED THIS SOLVED IN PYTHON

3. A video game store sells a video game CD that sells for 990 Rupees each. The store gives quantity based discounts according to the following table: Quantity Range 2-5 6-10 11-15 16 or more Discount (percentage) 6 12 18 30 Write a program that asks the user to enter the number of video games disk purchased. The pro- gram should then display the amount of the discount (if any) and the total amount of the purchase after the discount. An example of possible input and the expected output: Enter the quantity of video games purchased: 14 Total discount: 2494.8 Total purchase amount: 11365.2 Note: I have highlighted the possible input value by a user in yellow. Of course, we need to program for any possible number of games purchased, We expect this quantity to be an integer value (ie, a whole number)

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

What do you need to know to develop an audience profile? [LO-2]

Answered: 1 week ago