Calculate the sales tax and total due

Assignment Help Basic Computer Science
Reference no: EM131885989

Write 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 8 have a 5% sales tax. The 8-20 codes have a sales tax of 6%. Codes above 20 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 5 and 30. Display the amount of the sales tax and the total.

Reference no: EM131885989

Questions Cloud

How can school counselors respect the wishes : How can school counselors respect those wishes and yet still serve adolescent students who want to discuss family matters with them without parental knowledge?
Identify the seven domains within your diagram : Identify the 7 domains within your diagram. Identify the IP address, subnet mask and default gateway for the devices. Workstations you can provide a range.
How would you find those particular people : In system integration it is important to choose 'the right people' for a successful integration; how would you find those particular people?
Why should you name internetwork devices : Why should you name internetwork devices? Now, enter the commands along with the appropriate command prompt to do it.
Calculate the sales tax and total due : Write program to input a purchase amount and calculate the sales tax and total due. The sales tax depends on the county identifying code.
How sampling and gender bias may color the information : Compare and contrast how surveys can impact healthcare both negatively and positively, then explain what steps can be used in helping to eliminate biases.
Document with screenshots of program execution : Create zip file that has your Java source program and a word document with screenshots of program execution.
Write a report with a diagnosis and treatment plan : choose an individual on whom to complete a full alcohol and drug assessment and write a report (with a diagnosis and treatment plan).
Conduct a media search for articles : Conduct a media search (e.g., local, regional or national newspapers, magazines, professional literature, Internet news) for articles in the past 10 years.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a program that reads in four numbers from the user

Write a program that reads in four numbers from the user (allowing for decimal values) and calculate the sum, average, and product of these four values

  Corporate-level strategies for growth

What is the difference between corporate-level strategies for growth, retrenchment, and stability? What is the purpose of the BCG growth share matrix in the development of business-level plans?

  What is the maximum pressure drop allowed

Water flows through a horizontal 1-mm-diameter tube to which are attached two pressure taps a distance 1 m apart. What is the maximum pressure drop allowed if the flow is to be laminar?

  Which transactions would have to be entered again by users

For the following exercises, you will address problems and answer questions from the Solmaris Condominium Group staff. You do not use the Solmaris database for any of these exercises.

  Determine the surface temperature of the street sign

A 0.2 m × 0.2 m street sign surface has an absorptivity of 0.6 and an emissivity of 0.7. Solar radiation is incident on the street sign at a rate of 200 W/m2.

  Who will be responsible for monitoring and editing the site

Who will be responsible for monitoring and editing the site? What types of content would you remove from the site?

  Draw the top view of the phillips-head screw

Draw the top view of the Phillips-head screw shown in Fig. 31-6 according to the dimensions shown.

  What are some business uses for inserting a canvas

Write a response that answers the following: What are some business uses for inserting a canvas in a Microsoft® Word document. From these uses, propose a strategy that may help users overcome formatting issues.

  What is a suitable network design for an office space

What is a suitable network design for an office space with 4 cubicles, 1 office, 1 server room, conference room.  The design has a web server, file server, regular server with 6 computers, 3 color printers, and needs high speed internet and wireless ..

  Establish a common emissions price

Mention one and explain how a common price for polluters is established. (Hint: use reading by Anderson and Stafford to answer this question)

  What is the full capacity level of sales

Gladsden Refinishers currently has $21,000 in sales and is operating at 45 % of the firm's capacity. What is the full capacity level of sales?

  Read these files into r and test several functions

Read these files into R and test several functions with these new messages, e.g., get Boundary () and drop Attach () from Section 3.5.2, to make sure that they work properly.

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