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

  Computers have trended to larger word

Since the beginning, computers have trended to larger word sizes, 8 to 16 to 32 and now some 64 bit computers. Explain a pro or a con in a computer with a larger word size, or comment on someone else's pro or con.

  Implement a program to find the position of a cannonball

Write a C++ program that calculates the position of a cannonball that is fired straight up in the air - Implement a program to find the position of a cannonball

  Write a program using the rand() function

Write a program using the rand() function and a large array to find the standard deviation, variance and mean as well as the min and max values of the array.

  Find answers of c programming questions

1. int main(void){ int height 3. 5; int width = 25: if(height == 5 && width == 25){printf("the height and width are correct: "); }return 0; }Assuming all libraries are included, what is the result of the code above when run?

  Asks the user for the name of an input file and translates

Write a C++ program that asks the user for the name of an input file and translates the contents of that input file using ROT13. Your  main  function should be responsible for reading the input file and coordinating calls to a value-returning functio..

  Declare element array of chars named letters

Declare a 12-element array of chars named letters and what does the following program segment display?

  Write a c function for reversing circular single linked list

Let A and B be two structures of type linked list. Write a function for creating new linked list C that contains elements alternately from A and B beginning with first element of A. If you run out of the elements in one of the lists then append the r..

  Class mail order

Set up one one-dimensional array for each field: product number (integer), unit price (double), and current inventory level (integer) in main memory to hold the above product information. There should be five rows (0 to 4) in each array, one for e..

  Write down program in c for matrix multiplication program

write down program in c for matrix multiplication. program must accept dimension of both matrices to be multiplied and

  The mean and standard deviation

How do i write a program in c++ that use functions max, min, the total numbers, the mean and standard deviation to read a file text and return these values from the file text. note the file text has random numbers. note im not suppose to use arrays.

  Write program that takes number show number in power of 3

Write a program that takes a number between -121 and 121 and output that number in the format of power of 3 (1,3,9,27)

  Putting objects within objects is the essence of composition

Putting objects within objects is the essence of composition. It is called composition for obvious reasons. As we always say that if something is made from other things that it is composed from those things.

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