1234567891011121314151617181920212223
#include<iostream> #include<string> #include<iomanip> #include<fstream> #include<math.h> using namespace std; int main () { int MilesPerDay, TotalMilesPerWeek; int LCV; string Names[4]; for (LCV = 1; LCV <= 4; LCV++) { cout<<"Enter Name: "; cin>>Names[LCV]; } for (LCV = 1; LCV <= 4; LCV++) { cout<<"Name["<<LCV<<"]: "<<Names[LCV]<<endl; } return 0; }