Question: In C++ Create two arrays of strings called: ForwardNames, BackwardNames. Initialize forwardorderNames with: Fred, Tuyet, Annie, Moe, Ria, Luke, Jim, May, Rex, Omar Use two
In C++
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 O) in a for loop of an array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
