loop, input values for the price and amount arrays. The entries in the total array should be the product of the corresponding values in the price and amount arrays (so total[i] = price[i] * amount[i]). After all the data has been entered, display the following output, with the corresponding value under each column heading:
Fig: 1
Fig: 2
Fig: 3
Fig: 4