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]
3 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]3 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
A plane surface 25 cm wide has its temperature maintained at 80°C. Atmospheric air at 25°C ows parallel to the surface
Gre4nikov [31]

Answer:

See the detailed answer in attached file.

Explanation :

Download docx
3 0
3 years ago
*100 POINTS*
jenyasd209 [6]

Answer:

Depending on the size of the shrubs and the tress, will give you a general idea on how long they take to grow. Unless there are small plants that take forever to grow and or large plants that grow quickly. Hope this helps....

Explanation:

3 0
3 years ago
Read 2 more answers
5. If a pilot wants to accelerate, which force
Murljashka [212]

Answer:

Thrust

Explanation:

If the pilot wants to accelerate the aircraft, the aircraft needs more power to produce more thrust. The aircraft will go faster when the amount of thrust is greater than the amount of drag.

3 0
2 years ago
An adiabatic gas turbine expands air at 1300 kPa and 500◦C to 100 kPa and 127◦C. Air enters the turbine through a 0.2-m2 opening
Viktor [21]

Given:

Pressure, P_{1} = 1300 kPa

Temperature,  T_{1} = 500^{\circ}

P_{2} = 100 kPa

T_{2} = 127^{\circ}  

velocity, v = 40 m/s

A = 1m^{2}

Solution:

For air propertiess at

P_{1} = 1300 kPa

T_{1} = 500^{\circ}

h_{1} = 793kJ/K

v_{1} = 0.172\frac{m^{3}}{kg}

and also at

P_{2} = 100 kPa

T_{2} = 127^{\circ}  

h_{2} = 401 KJ/K

v_{2} =  1.15\frac{m^{3}}{kg}

a) Mass flow rate is given by:

m' = \frac{Av}{v_{1}}

Now,

m = \frac{0.2\times 40}{0.172} = 46.51 kg/s

b) for the power produced by turbine, P = m'(h_{1} - h_{2})

P = 46.51\times(793 - 401) = 18.231 MW

5 0
3 years ago
Which of the following describes a benefit of monitoring sensor values in a VR Project?
inysia [295]
The answer will be a
6 0
2 years ago
Read 2 more answers
Other questions:
  • A piston–cylinder device contains a mixture of 0.5 kg of H2 and 1.2 kg of N2 at 100 kPa and 300 K. Heat is now transferred to th
    8·1 answer
  • What are Tresca and Von Mises yield criteria?
    14·1 answer
  • How do I get my son to do his work?
    6·1 answer
  • What's the best way to plan an organized​
    7·1 answer
  • Wave flow of an incompressible fluid into a solid surface follows a sinusoidal pattern. Flow is two-dimensional with the x-axis
    13·1 answer
  • Calculate the radius of a circular orbit for which the period is 1 day​
    13·1 answer
  • Select the correct answer. Felix aspires to be an engineer working for the government. What credentials will Felix require to ap
    5·1 answer
  • Explain crystallographic defects.
    11·1 answer
  • Can someone please help me?
    11·2 answers
  • Technician A says that a radio may be able to receive AM signals, but not FM signals if the antenna is defective. Technician B s
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!