Question
Write a Python Program to run calculation of A3 BW (1 page), A4 BW (1 page), A4 Color (1 page), A3 color (1 page). The
Write a Python Program to run calculation of A3 BW (1 page), A4 BW (1 page), A4 Color (1 page), A3 color (1 page). The answer should be $6.Printing Prices
A4 (Black & White)
Page count: 1 - 3 pages = $3
Page count: 4 - 29 Pages = $+0.3/each page
Page count: 30 - 99 Pages = $+0.2/each page
Page count: Above 100 Pages= $+0.1/ each page
Pages A3 (Black & White)
Page count: 1 - 3 pages = $3
Page count: 4 - 29 Pages = $+0.6/each page
Page count: 30 - 99 Pages = $+0.4/each page
Page count: Above 100 Pages= $+0.2/ each page
Pages A4 (Color)
Page count: 1 - 3 pages = $3
Page count: 4 - 29 Pages = $+0.8/each page
Page count:30 - 99 Pages = $+0.5/each page
Page count: Above 100 Pages= $+0.3/ each page
Pages A3 (Color)
Page count: 1 - 3 pages = $3
Page count: 4 - 29 Pages = $+1.6/each page
Page count: 30 - 99 Pages = $+1/each page
Page count: Above 100 Pages= $+0.6/ each page
The total value of the cart will be $3 if the total number of pages is less than 3 for each category except Pages A3 (color). Each page added for A3 color will count from 1-3 pages =$3 and so on as per the pricing list.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Input the number of pages for each category a4bw intinputEnter number of pages of A4 Black White a3b...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started