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
Why do engineers play a variety of roles in the engineering process?
katrin2010 [14]

Answer:

b

Explanation:

7 0
3 years ago
A shunt regulator utilizing a zener diode with an incremental resistance of 8 ohm is fed through an 82-Ohm resistor. If the raw
spayn [35]

Answer:

\triangle V_0=0.08V

Explanation:

From the question we are told that:

Incremental resistance  R=8ohms

Resistor Feed R_f=82ohms

Supply Change \triangle V=1

Generally the equation for  voltage rate of change is mathematically given by

 \frac{dV_0}{dV}=\frca{R}{R_1r_3}

Therefore

 \triangle V_0=\triangle V*\frac{R}{R_fR}

 \triangle V_0=1*\frac{8}{8*82}

 \triangle V_0=0.08V

7 0
3 years ago
When you multiply monomials with the same variables, you multiply the coefficients and add the exponents!
RideAnS [48]

Answer: ok

Explanation:

this isn't a question?

3 0
2 years ago
QUESTION 3
lianna [129]
D D D D D D D D D D D D D D D DdDdddddf
6 0
3 years ago
A circuit has a source voltage of 15V and two resistors in series with a total resistance of 4000Ω .If RI has a potential drop o
anastassius [24]

Answer:

1500Ω

Explanation:

Given data

voltage = 15 V

total Resistance = 4000Ω

potential drop V = 9.375 V

To find out

R2

Solution

we know R1 +R2 = 4000Ω

So we use here Ohm's law to find out current I

current = voltage / total resistance

I = 15 / 4000 = 3.75 × 10^{-3} A

Now we apply Kirchhoffs Voltage Law for find out R2

R2 = ( 15 - V ) / current

R2 = ( 15 - 9.375 ) / 3.75 × 10^{-3}

R2 = 1500Ω

6 0
3 years ago
Other questions:
  • Biologists use a sequence of letters A, C, T, and G to model a genome. A gene isa substring of a genome that starts after a trip
    5·1 answer
  • An Ideal gas is being heated in a circular duct as while flowing over an electric heater of 130 kW. The diameter of duct is 500
    9·1 answer
  • 3. Write down the total thermal resistance for a double-pipe heat exchanger. Show how to convert from total resistance to an ove
    12·2 answers
  • When we utilize a visualization on paper/screen, that visualization is limited to exploring: Group of answer choices Relationshi
    9·1 answer
  • An approach to a signalized intersection has a saturation flow rate of 1800 veh/h. At the beginning of an effective red, there a
    15·1 answer
  • Part A What is the correct expression of the internal torque in segment AB? A shaft is fixed at A. A clockwise distributed torqu
    6·1 answer
  • Question 3 (5 points)
    7·1 answer
  • Airplanes are the only way that people can take flight.<br> A. True<br> B. False
    14·2 answers
  • While reflecting on the solutions and the process of concept generation, the development team takes a look at some critical ques
    10·1 answer
  • I need help with this question
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!