Question: Follow the flowchart and write a Python program. main() Start markup (cost) net(total) constant variable called DISCOUNT - 10% constant variable called SALES TAX -

Follow the flowchart and write a Python program.
main() Start markup (cost) net(total) constant variable called DISCOUNT - 10% constant variable called SALES TAX - 7.125% constant variable called MARK_UP - 2.5 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) Create a sentinel flag called another initialized toy end return price return net_total while loop (another equals 'y) or another equals "Y -NO YES Call a function net(total) retum net_total assign cost equals, keyboard entry "Cost! 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
