Question: C++ Problem 8) Copy and Reverse Fun.. Create two arrays of strings called: ForwardNames, BackwardNames. Initialize forwardOrderNames with: Fred, Tuyet, Annie, Moe, Ria, Luke, Jim,
C++
Problem 8) Copy and Reverse Fun.. Create two arrays of strings called: ForwardNames, BackwardNames. Initialize forwardOrderNames with: Fred, Tuyet, Annie, Moe, Ria, Luke, Jim, May, Rex, Omar. Use two for loops, to copy each element in the forwardOrderNames array into the reverse order reverseOrderNames array in reverse order Print out the names in the forwardOrderNames array. 0 to 9 index show order listed above Print out the names in the reverseOrderNames array. 0 to 9 index show reverse order listed above. Hint: Set up a revere read the index ( 9 to 0 ) in a for loop of an array. Use filename: Week13YourNameProg8ReverseNames
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
