Page 1 of 1

Design and test a Python program to calculate the total amount of quarterly sale taxes due TAX DUE based on values of Gr

Posted: Mon May 09, 2022 7:02 am
by answerhappygod
Design And Test A Python Program To Calculate The Total Amount Of Quarterly Sale Taxes Due Tax Due Based On Values Of Gr 1
Design And Test A Python Program To Calculate The Total Amount Of Quarterly Sale Taxes Due Tax Due Based On Values Of Gr 1 (61.52 KiB) Viewed 26 times
Design And Test A Python Program To Calculate The Total Amount Of Quarterly Sale Taxes Due Tax Due Based On Values Of Gr 2
Design And Test A Python Program To Calculate The Total Amount Of Quarterly Sale Taxes Due Tax Due Based On Values Of Gr 2 (66.88 KiB) Viewed 26 times
Design and test a Python program to calculate the total amount of quarterly sale taxes due TAX DUE based on values of Gross sales and services, non-taxable amount, tax rate, vendor credit rate and total of penalties and interest due for late filing. Save your file in folder PROJECTS. B DATA SAMPLE A 1 2 CONSTANTS 3. TAX_RATE 4 VEND_CRED 0.08875 0.05 5 6 VARIABLES 7 GROSS_SALES_SERV 8 NON_TAX 9 PEN_INT 21000 65001 75 DATA INPUT 10 TAXABLE AMOUNT 14500 11 PRE_TAX 12 vend_cred $1,286.88 $64.34 CALCULATED FIELDS 13 14 TAX_DUE- $1,297.53 RESULT
2 3 4 5 6 QUARTERLY Sales Taxes Calculation Based on the gross Sales & Services Name: ... Desinged on: FILE NAME CHRCAS11.PY I Constants Initialization TAX_RATE=0.08875 VEND_CRED_LOCAL = 0.05 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 # DATA INPUT gross_sales_serv -int( input("Enter the gross of sales and services: $")) non tax - int( input("Enter the amount of non taxable sales and services: $")) print(". -") # TAXABLE AMOUNT CALCULATION taxableincome - gross_sales_serv-non_tax • DISPLAY THE TAXABLE INCOME print("The taxable income is $", taxableIncome) print("") # PRE-TAX CALCULATION pre_tax-taxable income TAX_RATE print("The gross tax based on taxable income is calculated as s", round (pre_tax, 2)) print("") # VENDOR CREDIT vend_cred=pre_tax*VEND_CRED_LOCAL print ("The credit given to vendor by the tax Dept is s", round(vend_cred, 2)) print("") & DATA INPUT...CONTINUED pen_int=float(input("Enter the penalties and interest due at this time: $")) FINAL CALCULATION FOR SALES TAX COLLECTED AND DUE FOR THIS QUARTER TAX_QUE- pre_tax-vend_credtpen_int print (*The vendor sales tax due to Dept of Taxes & Finance is: $", round (TAX_QUE,2)) print(" --) Enter the gross of sales and services: $21088 Enter the amount of non taxable sales and services: $6500 The taxable income is $ 14500 The gross tax based on taxable income is calculated as $ 1286.88 The credit given to vendor by the tax Dept is $ 64.34 Enter the penalties and interest due at this time: $75 The vendor sales tax due to Dept of Taxes & Finance is: $ 1297.53