Question: Assignment 3 Write a C++ program that contains the following functions ReadIn (A Function that request the user to fill up 2 arrays of size

Assignment 3

Write a C++ program that contains the following functions

ReadIn (A Function that request the user to fill up 2 arrays of size 10)

CompareFunc (A function that takes in 2 arrays and compares them, and outputs an appropriate message)

ReverseFunc ( A function that takes in 2 arrays, and copies the content of the the 1st into the 2nd in reverse order)

PrintForward (A function that prints the content of an array in normal order)

PrintBackword (A function that prints the content of an array in reverse order)

PrintBoth (A function that takes two arrays and prints them, one forward, one backwards)

e.g

1 5

2 4

3 3

4 2

5 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!