Examlex

Solved

From the Invoice, Extend Each Line to the Total Column

question 115

Essay

From the invoice, extend each line to the total column and calculate the invoice subtotal and total:  Stock #  Quantity  Unit  Merchandise  Unit Price  Total  Description 283928 ea  Staplers $9.20$161215 ea  2-tier trays 3.1932182 gro #2 pencils 21.6033188 bx 3x5 index cards 5.26 Invoice Subtotal  Shipping Charges 51.98 Invoice Total$\begin{array}{|l|l|l|l|l|l}\text { Stock \# } & \text { Quantity } & \text { Unit } & \text { Merchandise } & \text { Unit Price } & \text { Total } \\\hline & & & \text { Description } & & \\\hline 2839 & 28 & \text { ea } & \text { Staplers } & \$ 9.20 & \$ \\\hline 1612 & 15 & \text { ea } & \text { 2-tier trays } & 3.19 & \\\hline 3218 & 2 & \text { gro } & \# 2 \text { pencils } & 21.60 & \\\hline 3318 & 8 & \text { bx } & 3 x 5 \text { index cards } & 5.26 & \\\hline & & & \text { Invoice Subtotal } & & \\\hline & & & \text { Shipping Charges } & 51.98 \\\hline & & & \text { Invoice Total}&\$\\\hline\end{array}


Definitions:

Lvalues

Expressions that refer to memory locations and thereby an object that occupies some identifiable location in memory (e.g., variables).

Rvalues

Expressions that refer to data values not associated with a persistent memory location.

Array

A data structure that stores a collection of items at contiguous memory locations where each item can be accessed by an index.

Implicit Conversion

Automatic transformation of a value from one data type to another by the compiler.

Related Questions