Question: 2. Write a program that allows a small business owner to input, in parallel arrays, the type of item, its cost, and the number

2. Write a program that allows a small business owner to input, in parallel arrays, the type of item, its cost, and the number in stock. The program should output this information in the form of a table. You can assume that columns will be correctly formatted at a later time. The output will look something like this: Item Name Coats Cost 55.00 Number in Stock Pants 28.50 10

2. Write a program that allows a small business owner to input, in parallel arrays, the type of item, its cost, and the number in stock. The program should output this information in the form of a table. You can assume that columns will be correctly formatted at a later time. The output will look something like this: Item Name Coats Pants Cost 55.00 28.50 Number in Stock 10

Step by Step Solution

3.36 Rating (165 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include include using namespace std int main declare arrays string item... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!

Related Book