Question: a. Write, compile, and run a C++ program to input the following values into an array named prices: 10.95, 16.32, 12.15, 8.22, 15.98, 26.22, 13.54,
a. Write, compile, and run a C++ program to input the following values into an array named prices: 10.95, 16.32, 12.15, 8.22, 15.98, 26.22, 13.54, 6.45, and 17.59 After the data has been entered, have your program display the values.
b. Repeat Part a, but after the data has been entered, have your program display it in the following form: 10.95 16.32 12.15 8.22 15.98 26.22 13.54 6.45 17.59
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
