1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
MakcuM [25]
3 years ago
5

Using only the sequential operations described in Section 2.2.2, write an algorithm that gets two values: the price for item A a

nd the quantity purchased. The algorithm should then print the total cost and the total cost plus an 8% sales tax.
Engineering
1 answer:
suter [353]3 years ago
7 0

Answer:

total_cost = cost + tax

Explanation:

Step1) Let the 2 variable for take input from user e.g price and quantity

var price ;

var quantity ;

var cost ;

var tax ;

var total_cost ;

Step2) take input from user quantity of item 'A'

step3) cost = price * quantity

Step4) tax = 0.08 * cost

Step5) total_cost = cost + tax

Step6) print the total_cost

You might be interested in
When removing a diesel engine from a truck, Technician A says it is OK to disconnect an air con­ditioning hose, but the refriger
agasfer [191]

Answer:

Technician B is right.

Explanation:

Air conditioning refrigerant contains Freon R22 and R410a, which have been linked to environmental damages, including ozone depletion, global warming, and energy-inefficiency.  For environmentally-savvy entities and individuals, there is the modern move to a more environment-friendly refrigerant, known as R-32.   Technician A's advice to vent the refrigerant outside the shop is in bad taste.  He does not seem to be aware of the environmental footprint of such an action.  Venting gas outside, in addition to the environmental damages, is also a waste of resources, and therefore, costly.  This is why Technician B's advice should be preferred.

5 0
3 years ago
what i the maximum flow rate of glycerine at 20C in a 10cm diameter pipe that can be assumed to remain laminar
ELEN [110]

Answer: tube flow

Explanation:

7 0
2 years ago
I need help with this question
Ad libitum [116K]

Answer:

LOL where is the question, that u need help with?

Explanation:

5 0
2 years ago
When you first start a car after it has been sitting for more than an hour, it pollutes up to ......times more than when the eng
lesya [120]
20 time more then when it’s warm
6 0
3 years ago
Read 2 more answers
Who ate cdonalds in hell with god then died from food ppoisoning
siniylev [52]

Answer:

McDonald’s announced recently that they are going through some major menu changes, and will be nixing some unnecessary ingredients. They also are finally listening to us, and will stop using chickens that are injected with growth-promoting antibiotics, along with dairy products raised with the growth hormone rbST but they still are using a lot of factory farmed meat and the beef is still raised with antibiotics.

McDonald’s even said they might add kale to their menu, by putting it in salads or in a smoothie. I LOVE kale, and I hope they don’t find a way to ruin it. You know the saying, “You can put lipstick on a pig, but it’s still a pig”. So, they need to do a lot more than just add kale to their menu before I’d ever eat there. The problem is that millions are still eating there and consuming several questionable food additives that McDonald’s could remove entirely if they really wanted to.

Explanation:

7 0
2 years ago
Other questions:
  • List the thermal conductivities of five
    15·1 answer
  • True or false? Don't break or crush mercury-containing lamps because mercury powder may be released.
    8·1 answer
  • State 2 reasons on why blind spot checks are important
    5·1 answer
  • Two Technicians are discussing shock absorbers. Technician A says most shock absorbers help support vehicle weight. Technician B
    5·1 answer
  • An uncovered swimming pool loses 1.0 inch of water off its 1,000 ft^2 surface each week due to evaporation. The heat of vaporiza
    14·1 answer
  • Liquid water is fed to a boiler at 24°C and 10 bar is converted at a constant pressure to saturated steam.
    12·1 answer
  • 1. What are the usual symptoms of brake issues?​
    15·1 answer
  • If you are convicted of D.U.I. a second time in five years, your license may be revoked for up to __________ year/s.
    10·1 answer
  • C programming fundamentals for everyone​
    13·1 answer
  • Identify the prefixes used in the International System of
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!