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) A 10.0-mm-diameter Brinell hardness indenter produced an indentation 2.3 mm in diameter in a steel alloy when a load of 1000
vampirchik [111]

Answer:

(a)  We are asked to compute the Brinell hardness for the given indentation. for HB, where P= 1000 kg, d= 2.3 mm, and D= 10 mm.  

Thus, the Brinell hardness is computed as

HB=2P/\pi D{D-\sqrt{D^2-d^2}

=2*1000hg/\pi (10mm)[10mm-\sqrt{(1000^2-(2.3mm)^2} ]

(b)    This  part  of  the  problem  calls  for  us  to  determine  the  indentation diameter d which  will  yield  a  270  HB  when P=  500  kg.  

d=\sqrt{D^2-[D-\frac{2P}{(HB)\pi D} } ]^2\\=\sqrt{(10mm)^2-[10mm-\frac{2*500}{450( \pi10mm)} } ]^2

6 0
4 years ago
According to the eNotes, a program that eliminates sales and promotions in an effort to minimize the bullwhip effect would be ca
Ilia_Sergeevich [38]

Options: True or false

Answer:True, it will be called CRMWRONGEDLP.

Explanation:eNotes was founded in 1998 by Brad Satoris and Alexander Bloomingdale, to enable and enhance the ability of students to solve assignments as given and other home works,eNote is also used by students to prepare effectively and efficiently for examinations.

Since its launch eNote has been a great source of educational materials for students who have gained a lot in the use of its materials.

bullwhip effect is a concept in supply chain, where forcasts causes the supply chain to be inefficient, it usually starts from retailers who raise concern of high demands.

CRMWRONGEDLP, is the program that minimizes the bullwhip effects according to eNote.

7 0
3 years ago
The current drawn by fluorescent lighting has a high total harmonic distortion. For this case, THD is calculated to be 88%. The
Alona [7]

Answer:

displacement power factor is 0.959087

Explanation:

given data

THD = 88%

true power factor = 0.72

solution

we get here total harmonic distribution THD is express as here

THD = \sqrt{\frac{1}{g^2}-1}       ..............1

her g is distortion factor

so put here value and we will get g that is

0.88² =   \frac{1}{g^2} -1    

solve it we get

g = 0.750714

and

displacement power factor is express as

DPF = \frac{PF}{g}   .................2  

put here value and we will get

DPF = \frac{0.72}{0.750714}    

DPF  = 0.959087

3 0
3 years ago
What kind of job does mike have? Mike’s job is to study blueprints, evaluate product stability, and to examine the safety of pro
Triss [41]

Answer: a drafting engineer

Explanation:

6 0
3 years ago
The settlement of foundations is typically the result of three separate occurrences that take place in the soil which provides s
evablogger [386]

Answer:

The differences are listed below

Explanation:

The differences between consolidation and compaction are as follows:

In compaction the mechanical pressure is used to compress the soil. In consolidation, there is an application of stead pressure.

In compaction, there is a dynamic load by rapid mechanical methods like tamping, rolling, etc. In consolidation, there is static and sustained pressure applied for a long time.

In compaction, the soil volume is reduced by removing air from the void. In consolidation, the soil volume is reduced by squeezing out water from the pores.

Compaction is used for sandy soil, consolidation on the other hand, is used for clay soil.

7 0
3 years ago
Read 2 more answers
Other questions:
  • A converging - diverging frictionless nozzle is used to accelerate an airstream emanating from a large chamber. The nozzle has a
    15·2 answers
  • A steady tensile load of 5.00kN is applied to a square bar, 12mm on a side and having a length of 1.65m. compute the stress in t
    13·1 answer
  • A mass of 5 kg of saturated water vapor at 100 kPa is heated at constant pressure until the temperature reaches 200°C.
    6·1 answer
  • Ultra-thin semiconductor materials are of interest for future nanometer-scale transistors, but can present undesirably high resi
    8·1 answer
  • Air exits a compressor operating at steady-state, steady-flow conditions at 150 oC, 825 kPa, with a velocity of 10 m/s through a
    12·1 answer
  • How can you drop two eggs the fewest amount of times without them breaking?
    15·1 answer
  • Differentiate between pulser switch and data switch
    8·1 answer
  • An artist is creating a gigantic mobile using old cars. On one end of the mobile, a 2100 lb Plymoth is suspended 30 feet from th
    8·2 answers
  • A traffic flow has density 61 veh/km when the speed is 59 veh/hr. If a flow has a jam density of 122 veh/km, what is the maximum
    13·1 answer
  • When servicing piston rods and pins it is important to always
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!