Wap that will use a loop to accept the names of items


Problem:

Question- Design a program that will use a loop to accept the names of one thousand items and the cost of each item. The names and the item costs will be stored in two parallel arrays. The program will then output the names, item costs and item prices (calculated using: itemCost(x) * 1.3) in table form with the text "Item Name" on top of the names and "Item Cost" on top of the costs and "Item Price" on top of the prices.

Here are some hints:

You will require two parallel arrays for the input and an additional parallel array for the output.

Do not attempt to format the output (except as directed below).

Make sure you include at least five spaces between the item names, the item costs and the item prices.

Please describe the code with the help of comments.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Wap that will use a loop to accept the names of items
Reference No:- TGS0893705

Expected delivery within 24 Hours