![priscilaannmendez](/avatars/21842.jpg)
priscilaannmendez
25.06.2019 •
Computers and Technology
(programming exercise 3-10). 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 states sales tax - the total sales tax (county plus state) some of the code has already been provided below. complete the missing code below. // global constants for tax calculations constant real county_tax_rate = .02 constant real state_tax_rate = .04 // main module module main() // local variables declare real monthsales, countytax, statetax // get month sales display “enter monthly sales: ” input monthsales // write the statement to calculate county tax // write the statement to calculate state tax // display tax amount call showtaxes(monthsales, countytax, statetax) end module // the showtaxes module accepts monthsales, countytax, statetax // as arguments and displays the resulting data // write the showtaxes module
Solved
Show answers
More tips
Answers on questions: Computers and Technology
- M Mathematics A television is advertised for K2000 cash or on terms of 10% deposit and K80 per month for 3 years.a) How much more does the television cost when bought on a term payment plan...
- M Mathematics Which of these statements is true? a) Every line in the coordinate plane has only one form of an equation which produces it. b) Every linear equation passes through the origin....
- C Chemistry A saturated solution of Ammonium Chloride is dissolved in 100 g of water. If the saturated solution is cooled from 50°C to 30°C, how many grams of precipitate will be formed?...
- E English The party (already/start) when three men (arrive). they (forget) their tickets, but they told the bouncer it s all right, we re friends of the referee. where should i use past...
Ответ:
I predict that Buck will continue to see the hairy man and believe that he needs to be wild. I also predict that he will fight these urges and remain loyal to Thornton. Buck will have to figure out whether he is a pet or a wild animal after his experiences.