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
bixtya [17]
4 years ago
10

List all information for each order item. Include an item total, which can be calculated by multiplying the Quantity and Paid ea

ch columns. Use a column alias for the calculated value to show the heading "Item Total" in the output
Engineering
1 answer:
Zigmanuir [339]4 years ago
3 0

Answer:

#include<iostream>

Using namespace std;

int main()

{

int n, qty;

double price, amount;

cout<<"Number of items ";

cin>>n;

cout<<"ITEM<<"\t"<<"QUANTITY"<<"\t"<<"PRICE"<<"\t"<<"ITEM TOTAL";

for(int i= 1; I<= n; i++)

{

cin>>qty;

cin>>price;

amount = qty * price;

cout<<i<<"\t "<<qty<<"\t"<<price<<"\t"<<amount;

}

}

Explanation

The above program is written in C++ programming language

5 variables are declared and used in the program

n is declared as an integer to represent the total number of items

qty is declared as integer to represent the total quantity of each item

price is declared as double to represent the amount of each individual item

amount is declared as double to represent the total amount of an item; it is gotten by qty * price

i is declared as integer to iterated between each items

The amount of each item is calculated within the iteration and also printed immediately

You might be interested in
What is electrical energy used for?
FromTheMoon [43]

Answer:

to power devices  appliances and  some methods of transportation

Explanation:

6 0
3 years ago
Read 2 more answers
PLEASE HELP!! Its easy!!!
Rina8888 [55]

Answer:

C is tire

F is cassette

D is hub

4 0
3 years ago
Read 2 more answers
Situation: Peter is designing a new hybrid car that functions on solar power. He is currently working on sketches of his design
givi [52]

Answer:

whats the question?

Explanation:

8 0
2 years ago
How do you build a engine best anwser will get marked as brainlist
marysya [2.9K]

Answer:

It is best to soak the new lifters in engine oil overnight in order to build a car engine from scratch, regardless of its length. Ensure all rings of the pistons are installed correctly. You should flip the block over and carefully install the top half of the main rod and bearing parts. Get the block out of your way and flip it over again. By flipping over the block, you’ll see the full effect. Ensure that the lifters are installed correctly.

Explanation:

5 0
2 years ago
The common type of defects found when soldering on a printed circuit board
sammy [17]

Explanation:

Solder Bridges

Plating Voids

Non-wetting or dewetting.

5 0
3 years ago
Other questions:
  • The volume at a section of a 2-lane highway is 1800 vph in each direction and the density is approximately 30 bpm. A slow moving
    10·1 answer
  • Atmospheric pressure is measured to be 14.769 psia. a. What would be the equivalent reading of a water barometer (inches of H20)
    11·1 answer
  • Explain why the scenario below fails to illustrate an understanding of the importance of metrology. Situation: Natalie is a cali
    6·1 answer
  • Air, at a free-stream temperature of 27.0°C and a pressure of 1.00 atm, flows over the top surface of a flat plate in parallel f
    13·1 answer
  • How many astronauts work<br> in the International Space Station
    7·1 answer
  • If a nurse does not agree to the discipline set due to a complaint made against this nurse, after reviewing the proposed agreed
    14·1 answer
  • Explain the use of a vacuum gauge.
    15·1 answer
  • This might count as engineering, I'm not sure as this is IT
    8·1 answer
  • The velocity components expressed in m/s<br>​
    6·1 answer
  • As a worker in this field you would:
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!