I need to write a program that stores the following #'s in the array miles: 15,22,16,18,27,23,20. Need to copy that to array named dist. then display dist values. using pointer notation. Dont know how to set it up...
1 2 3 4 5 6 7 8 9 10
#include <iostream>
usingnamespace std;
int main()
{
constint VALUES = 7;
int mPtr;
int i, miles[VALUES] = {15,22,16,18,27,23,20};
mPts = &miles[0];
...... //not sure what to do