Create program-ask user to enter amount of purchase

Assignment Help Programming Languages
Reference no: EM1367266

Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 4% and the county sales tax is 2%. The program should display the amount of the purchase, the state sales tax, the county sales tax, the total sales tax and the total of the of the sale (which is the sum of the amount of the purchase plus the total sales tax.) Hint: Use the value .02 to represent 2% and .04 to represent 4%.

Reference no: EM1367266

Questions Cloud

Which data hazards added to datapath : Which of data hazards can be prevented if forwarding is added to datapath? For each such hazards, list register number and two instructions involved.
What makes a contribution income statement unique : Show what makes a contribution income statement unique and discuss how a contribution income statement could be used to improve planning in a company.
Leaders of a quantum healthcare organization : Describe the main tasks of leaders of a quantum healthcare organization. Describe how you can incorporate these criteria as a nursing leader in an Aids clinic and as a Nurse executive in the future.
Economics-price elasticity of demand : If the price elasticity of demand for gasoline is 0.3, and the current price is $1.20 per gallon, what rise in the price of gasoline (in cents or dollars) will reduce its consumption by 10%? please explain.
Create program-ask user to enter amount of purchase : Create a program which will ask the user to enter the amount of a purchase. The program must then compute the state and county sales tax.
Discharge patients according to protocols and guidelines : Healthcare providers are under pressure to discharge patients according to the protocols and guidelines. What is your obligation as the leader in this condition?
Find the wavelength of the sound : The height of a helicopter above the ground is given by h = 3.20 t3, where h is in meters and t is in seconds. At t = 1.95s, the helicopter releases a small mailbag. How long after its release does mailbag reach the ground.
Explain johnson-johnson-s approach for it infrastructure : Discuss Johnson & Johnson's Approach ro providing an IT infrastructure to support its one-face-to-the-customer strategy?
Elements of power-self image and knowledge : Consider the elements of power, self-image, knowledge, and problem-solving that can serve as impediments.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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