Write a program to keep track of a hardware store's inventory. The sore sell various items. For each item in the store the following information is kept: item ID, item name, number of pieces ordered, number of pieces currently in the store, number of pieces sold, manufacturer's price for the item, and the stores selling price. At the end of the week the store manager would like to see a printed report.

The total inventory is the total selling value of all the items currently in the store. The total number of items is the sum of the number of pieces of all the items in the store.

The program must be menu driven giving the users various choices such as checking whether an item is in the store, selling an item and printing the report. After inputing the data, sort it according to the items names. Also, after an item is sold, update the appropriate counts.

Initially, the number of pieces (of an item) in the store is the same as the number of pieces ordered, and the number of pieces of an item sold is zero. Input to the program is a file consisting of data in the following form: ItemID, ItemName, pOrdered, manufPrice, sellingPrice.

Use seven parallel vectors to store the information. The program must contain at least the following functions: one to input data into the vectors, one to display the menu, one to sell an item and one to print the report for the manager.

Since I am just learning C++ the solution may need to be "dummied down" a little bit (or a lot) so that I can understand how the code is working.

Solution Summary

A C++ program is developed to keep track of a hardware store's inventory. Using parallel vectors is demonstrated.

1 Given a = 9i - 5j and b = 7i-4j, express i and j in terms of a and b
2 Given a=<4,5,-3> and b =<4,-2,2> determine whether a and b are parrallel, perpendicular, or neither.
3 Given F = 4i -2k;..... P(0,1,0) and Q(4,0,1) find the work W done by the force (F)moving a particle in a straight line from P to Q.
4 Given a

A= <1,2,3> b=<4,5,6> c=<7,8,0>
A) Find a x b (cross product)
B) Find the volume of the parallelpipe with adjacent edges a,b,and c.
C)Determine if the vectors a and b are parallel, perpendicular or neither.

Let v and w be vectors
if ||v|| = 2 and ||w|| = 3 what are the smallest and largest values possible for ||V - W||?
Show a geometric explanation of this answer.
Please show all work and reasoning in detail.

A) Find a vector equation for the line that passes through (1,-2,7) and is parallel to the line
x= 3+2t, y= -t, z= -1-t
B) Write a different vector equation for the line you found in part A...

4) Line L is defined by the following equation:
Line M is defined by:
Find a and b, if known that lines are parallel to each other.
5) Line L is defined by intersection of two planes
2x+3y?z = 1 and -2x+y+2z = 0
Plane P is defined by -2x + y ?z = 4
Find any directional vector for the line, point of intersection of line a

If C is the curve given parametrically by R(t)=cost(i)+sint(j)+2t(k) find
a) the normal N and the binormal B for this curve @ t=0
b) the equation of the plane passing through the point R(0) and parallel to both vectors N and B of part(a)

1. Two vectors are parallel provided that one is a scalar multiple of the other. Determine whether the vectors a and b are parallel, perpendicular, or neither.
a = 12i - 20j + 17k and b = -9i + 15j + 24k
2. Find a unit vector n perpendicular to the plane through the points P(1, 3, -2), Q(2, 4, 5), and R(-3

The eastward component of vector A is equal to the westward component of vector B and their northward components are equal. Which one of the following statements is correct for these two vectors?
Choices:
Vector A is parallel to vector B
Vector A is anti-parallel to vector B
The magnitude of vector A is equal to the mag