Use the C++ programming languge for the following: Create a menu function "menuFunction" that has to contain the following list 1) print the summantion 2) print the remainder of the division 3) exit...


Use the C++ programming languge for the following:


Create a menu function "menuFunction" that has to contain the following list

1) print the summantion
2) print the remainder of the division
3) exit


-Create a set of functions:
1) Create a function "sum": that add the values of an array to another, where the results will be stored in a third array.


For exmple:

a[2] = {1,2}
b[2] = {3,4}
x[2] = {4,6}, where x[0] = a[0] + b[0]

and

x[1] = a[1] + b[1]


2) Create function "remDiv" that finds the remainder of the division of any two array, where the results will be stored in a third array.


For Example:
a[2] = {1,2}
b[2] = {3,4}
x[2] = {1,2}
where x[0] = a[0] % b[0] and x[1] = a[1] % b[1]

NOTE: The values and the size of the arrays have to be entered by the user.


Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here