Write a program to input a purchase amount

Assignment Help Chemistry
Reference no: EM13900917

(TCOs 2,4, 5, and 8) Write a program to input a purchase amount and calculate the sales tax and total due. The sales tax depends on the county identifying code. Counties with a number less than 20 have a 5% sales tax. The 21-35 codes have a sales tax of 6%. Codes above 35 have a sales tax of 7%. The purchase amount and county code are entered by the user. Use a loop to validate that the county code is between 10 and 40. Display the amount of the sales tax and the total.

 

 

Reference no: EM13900917

Questions Cloud

Information is available for both atlas company : At the end of the current year, the following information is available for both Atlas Company and Bryan Company.
Distrubance-adapted ecosystems and ecoystems : How can I explain the difference between distrubance-adapted ecosystems and ecoystems that simply never mature and never reach climax conditions?
Calculate the potential distribution using the fdm : Calculate the potential distribution using the FDM on the dielectric surface bounded by conducting matarials at different potentials
Cash as a way of aiding to bring about general economic goal : cash as a way of aiding to bring about general economic goals
Write a program to input a purchase amount : (TCOs 2,4, 5, and 8) Write a program to input a purchase amount and calculate the sales tax and total due. The sales tax depends on the county identifying code. Counties with a number less than 20 have a 5% sales tax. The 21-35 codes have a sales tax..
Movements demonstrate a concern over : Both movements demonstrate a concern over how the environment, especially public land is used. How, then, are the movements different?
Organization-wide strategic plan communication dissemination : organization-wide strategic plan communication dissemination and recommend communication strategies
Explain the meaning and significance of the given ratios : Explain the meaning and significance of the following ratios that have been calculated from the financial information given in this question and for the previous year.
Construct a piece wise function : Using points, straight lines and possibly the curve of a parabola, construct a piecewise function whose graph looks like a smiling face.

Reviews

Write a Review

Chemistry Questions & Answers

  Steps in the mechanism for the following reaction

Show all the steps in the mechanism for the following reaction, When benzene is mixed with deuterated sulfuric acid, deuterium is slowly incorporated onto the ring. Show the mechanism for this reaction and explain how this relates the sulfonation of ..

  Prior to placing piece of metal into the graduated cylinder

This assignment inhibits chemistry Laboratory Questions.

  Write the structures of the saytzeff elimination

Write the structures of the saytzeff elimination

  Calculate ph - chemistry questions

Chemistry Questions on Calculate P H

  How many mols of hydrogen can produce

how many mols of H 2 can produce

  Analysis of corrosion mechanisms

Analysis of corrosion mechanisms and preventative measures

  Chemical and pharmaceutical science

Write an equation for the formation of an acetal from reaction of excess methanol with benzaldehyde in the presence of an acid catalyst.

  Calculate the approximate sulphur

Calculate the approximate SO 2 mass emission in lb/day.

  What is the structure - stereochemistry

What is the structure (including functional groups)? Stereochemistry (racemic or single enantiomer)?

  Design a qualitative analysis scheme

Design a qualitative analysis scheme

  What will be the resultant pressure

What will be the resultant pressure when the stopcock is opened?

  The 1h nmr spectrum

Integrals for some of the resonances in the 1H NMR spectrum are higher than they should be due to the shear number of hydrogens in this compound

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd