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
A particle is moving along a straight line with an initial velocity of 6 m/s when it is subjected to a deceleration of a- (-1.5v
Juli2301 [7.4K]

Answer:

s= 6.53 m

t=3.27 s

Explanation:

velocity = 6 m/s

deceleration = -1.5v^\frac{1}{2}

a=-1.5v^\frac{1}{2}\\v\frac{\mathrm{d} v}{\mathrm{d} s}=-1.5v^\frac{1}{2}\\-1.5ds=v^\frac{1}{2}dv\\\int\ {-1.5} \, ds= \int\ v^\frac{1}{2}dv\\-1.5s=\frac{2}{3}\times v^{\frac{3}{2} }

now inserting value of v=6s we get distance(s)

s= 6.53 m ( distance cannot be negative)

now for time calculation we know that

a=\frac{\mathrm{d}v }{\mathrm{d} t}

-1.5v^\frac{1}{2} =\frac{\mathrm{d}v }{\mathrm{d} t}\\-1.5dt=\frac{dv}{v^\frac{1}{2}} \\\int -1.5 dt=\int v^{-\frac{1}{2}}dt \\1.5t=2v^\frac{1}{2}\\t=\frac{4}{3}v^\frac{1}{2}

putting value of v=6s

t=3.27 s (time cannot be negative)

3 0
3 years ago
Rope BCA passes through a pulley at point C and supports a crate at point A. Rope segment CD supports the pulley and is attached
djverab [1.8K]

Answer:

363 pounds 32 degrees

Explanation:

Express your answers numerically in pounds and degrees to three significant figures separated by a comma. slader

6 0
3 years ago
A coil consists of 100 turns of wire wrapped around a square frame of sides 0.25 m. The coil is centered at the origin with each
jenyasd209 [6]

Find solution in attachments below

5 0
3 years ago
If a ball is dropped from a height​ (H) its velocity will increase until it hits the ground​ (assuming that aerodynamic drag due
enot [183]

Answer

Explanation:

so the velocity is 39 feet per sec so the impact is 720 cm from the ground

take 720 * 39 sq

4 0
4 years ago
Critical Thinking Scenario The Vice President for Compliance Management, Alexander Goodenuff, supports the position taken by Hen
Kisachek [45]

Answer:

True, True

Explanation:

1st Scenario: Purchase of new contamination equipment would indicate that the plant had been violating environmental regulations and reporting false data. So, Cathy and Henry must not purchase and install new contamination equipment unless the data indicates serious violatino of environmental regulations.

2nd Scenario: Company has the responsibiltiy to report contamination in plant water to regulatory agencies and Cathy Martin has been assigned this responsibility to report on behalf of the company. Reporting "adjusted" or inaccurate data is against the business ethics. So, professionally Cathy Martin is responsible for her reports to regulatory agencies.

8 0
3 years ago
Other questions:
  • A subway car leaves station A; it gains speed at the rate of 4 ft/s^2 for of until it has reached and then at the rate 6 then th
    8·1 answer
  • Why do you think engineering has been called the stealth profession?
    14·1 answer
  • A vertical plate has a sharp-edged orifice at its center. A water jet of speed V strikes the plate concentrically. Obtain an exp
    6·1 answer
  • Determine an expression in standard form for the voltage gain VoVs. Hv(jω)=Vo(jω)Vi(jω)=R2R111+jωCR2 Hv(jω)=Vo(jω)Vi(jω)=−R2R111
    15·1 answer
  • Find vC(t) for t ≥ 0 (in V), assuming the switch was open for a long time when closed at t = 0.
    14·1 answer
  • Which of the following might be a job or task of an IT worker who manages
    14·1 answer
  • Can someone please do this for me ive been sick for the past week and am behind
    6·1 answer
  • Please help ASAP!!
    11·1 answer
  • Identify the part of the direct current motor​
    9·1 answer
  • Plz help me! I’ll mark Brainliest! :(
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!