...and showing the index. Here is the code so far:
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main()
{
/* declare array */
int dollars[6] = {25, 30, 50, 20, 15, 25};
int i;
int high = dollars[0]; /* assign first element value to high */
int...