Design a modular program that asks the user

Assignment Help C/C++ Programming
Reference no: EM13907398

A retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. The state sales tax rate is 4 percent and the county sales tax rate is 2 percent. Design a modular program that asks the user to enter the total sales for the month. From this figure, the application should calculate and display the following:

The amount of county sales tax

The amount of state sales tax

The total sales tax (county plus state)

In the pseudocode, represent the county tax rate (0.02) and the state tax rate (0.04) as named constants.

Reference no: EM13907398

Questions Cloud

Optimal order quantity in part change the ordering cost : Shakina Harris, who works in her brother’s hardware store, is in charge of purchasing. Shakina has determined that the annual demand for #6 screws is 150,000 and is fairly constant over the 200 days that the store is open each year. Shakina’s brother..
Find an example in which a public administrator : Find an example in which a public administrator showed an excellent understanding of ethics and demonstrated it through specific behaviors.
Compares aicpa code and ima code of professional conduct : 500 words in MS word-Compares the AICPA Code of Professional Conduct and the IMA Code of Professional Conduct - Describes the purpose and major elements of both codes and compares the two codes
The figure is drawn for a monopolistically competitive firm : The figure is drawn for a monopolistically competitive firm. ____ 18. Refer to Figure 9. If the average total cost is $15 at the profit-maximizing quantity, then the firm's maximum profit
Design a modular program that asks the user : A retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. The state sales tax rate is 4 percent and the county sales tax rate is 2 percent. Design a modular..
Based on the best available econometric estimates : Based on the best available econometric estimates, the market elasticity of demand for your firm's product is -2. The marginal cost of producing the product is constant at $275, while average total cost at current production levels is $360.
Discuss the different parenting styles : Discuss the different parenting styles
Currency risk management techniques include forward hedges : Currency risk management techniques include forward hedges, money market hedges, and option hedges. Draw a diagram showing the possible outcomes of these hedging alternatives for a foreign currency receivable contract.
Georgia orchards produced a good crop of peaches : After preparing the following income statement, the company believes it should have given its No. 3 peaches to charity and saved its efforts.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Please low is studentgrade class problem

1.Please low is StudentGrade class problem, please modify it so that all methods are marked const that can be. Make sure you have a constructor that accepts all data values. Create a simple main function that declares a constStudentGrade object and d..

  Principles of programming with c++

Name The players name, formatted as I.s where I is the initial of the player's first name and s is the player's surname.

  Write an app that uses string method

Write an app that uses string method CompareTo to compare two strings input by the user. Output whether the first string is less than, equal to or greater than the second

  Ansi-c program complete assignment as follows in the

complete assignment as follows in the

  Write a statement that writes both of their values

Write a statement that writes both of their values to standard output in the format

  Implement the vector class using inheritance

Is it better to implement the Vector class using inheritance (is-a relationship) or composition (has-a relationship). In other word, which one of the following gives a better implementation?

  Program- file input and file output

Write a program that asks the user to answer some questions. First, you should ask the user if they want to load answers from a previously saved file. What is your favorite color? How old are you

  A for loop to compare each character

a for loop to compare each character

  Sequence of numbers

What sequence of numbers would be printed if the following procedure were executed with the value of N being 0

  Implementation of a priority queue

i) Describe in detail (using pseudocode) the implementation of a priority queue based on a sorted array. Show that your implementation achieves O(1) for operations min and removeMin, and O(n) for insertions.

  Write a program to print out 30 real random numbers

Write a program to print out 30 Real Random Numbers with specific limitation (e.g. the real random numbers should be the real number between min=11.1 to  max=222.2).

  Write a for loop that displays the following set of numbers

Write a for loop that displays the following set of numbers 0, 5, 10, 15, 20, 25 ...... 500.

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