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
Glyphicons is mainly used for​
-Dominant- [34]

Glyphicons are icon fonts which you can use in your web projects. Glyphicons Halflings are not free and require licensing, however their creator has made them available for Bootstrap projects free of cost.

7 0
3 years ago
Transcription machinery assembles at _______________.
vivado [14]

Answer:

The base

Explanation:

3 0
3 years ago
Why do giant stars become planetary nebulas while supergiant stars become supernovas when their nuclear fusion slows and is over
sashaice [31]

The reason why giant stars become planetary nebulas is  Supergiant stars do not have enough mass to generate the gravity necessary to cause a planetary nebula.

<h3>Why do giant stars become planetary nebulae?</h3>

A planetary nebula is known to be formed or created by a dying star. A red giant is known to be unstable and thus emit pulses of gas that is said to form a sphere around the dying star and thus they are said to  be ionized by the ultraviolet radiation that the star is known to releases.

Learn more about  giant stars from

brainly.com/question/27111741

#SPJ1

3 0
2 years ago
Explain why the following scenario fails to meet the criteria for proper reverse engineering.
avanturin [10]

Answer:

he must document or remember the order he took it apart so he put it back together

Explanation:

5 0
2 years ago
Which of the following describes all illustrations created by freehand?
Klio2033 [76]

extension lines,sketches,leader lines,dimensions describes all illustrations created by freehand.

5 0
3 years ago
Read 2 more answers
Other questions:
  • Passband to baseband conversion: Consider the following passband signal,
    14·1 answer
  • The beam is supported by a pin at A and a roller at B which has negligible weight and a radius of 15 mm. If the coefficient of s
    7·1 answer
  • You are traveling along an interstate highway at 32.0 m/s (about 72 mph) when a truck stops suddenly in front of you. You immedi
    11·1 answer
  • Explain why veracity, value, and visualization can also be said to apply to relational databases as well as Big Data.
    6·1 answer
  • Which of the following is an example of a social need?
    5·1 answer
  • *100 POINTS
    6·2 answers
  • Solve for the unknown values in the circuit in figure 3-9, NEED ANSWERS ASAP
    12·1 answer
  • How to do this goalookr goalookr
    5·1 answer
  • Whats the purpose of the keyway
    13·1 answer
  • the maximum load that a hori-zontal beam can carry is directly proportional to its width. if a beam 1.5 inches wide can support
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!