Question: comp and programming please turn this flowchart into a python program! Star markup (cost) main net(total) constant variable called DISCOUNT = 10% constant variable called

 comp and programming please turn this flowchart into a python program! Star markup (cost) main net(total) constant variable called DISCOUNT = 10% constant comp and programming

please turn this flowchart into a python program!

Star markup (cost) main net(total) constant variable called DISCOUNT = 10% constant variable called SALES TAX = 7.125% constant variable called MARK UP 25 make total a global variable total = total minus (total multiplied by DISCOUNT) assign cash equals. keyboard entry "Cash on hand: Convert entry to float data type call a function main) Assign price as the calculation cost including MARK_UP total = calculate running total net_total total + (total multiplied by SALES TAX) I Create a sentinel flag called another initialized toy end return price return net_total while loop (another equals y) or (another equals 'Y) NO Call a function net(total) return net total YES assign cost equals, keyboard entry "Costa Convert entry to float data type. YES IF cash > net_total NO BOOLEAN pay cash = TRUE BOOLEAN pay cash = FALSE Validation Loop validation loop cost as zero YES YES screen output "I will pay with cash screen output "I will pay with credit NO screen output error message "ERROR: can not be negative value." another loop call a function markup(cost) assign to price IF BOOLEAN pay cash TRUE FALSE screen output Price: $' format price to two decimal places and no space between $# assign cost equals, keyboard entry "Cost again. Convert entry to float data type YES screen output 'Customer paid cash screen output Customer paid credit assign another equals, keyboard entry 'Another itern? (y to continue) function ends returns control TE 4 Image opt markup main) Start not(total) constant van de DISCOUNT 10% con varias called SALES TAXT 125 constant variabled MARK UP 2.5 make global war minus Complied by DISCOUNT) kayboard y Cash on tant Convert by to Hala type cal function man Assig price as the calculation to including MAX UP litering no. Cod by SALES TANO Crvenaged moto y ond return price return net_total no Contece ND Cau YES YES Conne NO BOOLEAN Vadation Loop BOOLEAN py FALSE TRUE VES - TROR THE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!