subject
Engineering, 22.02.2020 00:57 Snowinvain

This lab requires you to think about the steps that take place in a program by writing algorithms. Read the following program prior to completing the lab. 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. Write a program that asks the user to enter the total sales for the month. 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) Step 1: Examine the following algorithm. 1. Get the total sales for the month. 2. Multiply the total sales by .04 to calculate the state sales tax. 3. Multiply the total sales by .02 to calculate the county sales tax 4. Add the state tax and county tax to calculate the total sales tax. 5. Display the calculated county tax, state tax, and total sales tax. Step 2: Given a total sales of $27,097, answer the following: What is the calculated state tax? What is the calculated county tax? What is the calculated total tax?

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
At 12 noon, the count in a bacteria culture was 400; at 4: 00 pm the count was 1200 let p(t) denote the bacteria cou population growth law. find: (a) an expression for the bacteria count at any time t (b) the bacteria count at 10 am. (c) the time required for the bacteria count to reach 1800.
Answers: 1
question
Engineering, 04.07.2019 18:10
Compute the pressure drop of 30Β°c air flowing with a mean velocity of 8 m/s in a circular sheet-metal duct 300 mm in diameter and 15 m long. use a friction factor, f 0.02, and pair = 1.1644 kg/m a. 37.26 pa b. 25.27 pa n c. 29.34 pa d. 30.52 pa
Answers: 1
question
Engineering, 04.07.2019 18:20
Acertain flow of air (at stp) has a velocity distribution given by v i (in ft/s). if this flow is going through a 4 ft square area in the yz-plane (centered at the origin), what is the mass flow rate (in lbm/s)?
Answers: 2
question
Engineering, 04.07.2019 18:20
An engine runs on the ideal diesel cycle. the cycle has a compression ratio of 20 and a cutoff ratio of 2. the highest temperature in the cycle is 1200 k. if the heat into the system is 300 kj/kg of working fluid and using variable specific heats determine the work produced per mass of working fluid
Answers: 3
You know the right answer?
This lab requires you to think about the steps that take place in a program by writing algorithms. R...
Questions
question
Mathematics, 23.12.2019 20:31
question
Mathematics, 23.12.2019 20:31
Questions on the website: 13722363