Question
Q:3 (a) You are supposed to make three arrays of integer type data, array 1 having size m, array 2 having size n and array
Q:3 (a) You are supposed to make three arrays of integer type data, array 1 having size m, array 2 having size n and array 3 of size m+n. Input in array 1 and array2. Assuming that data entered in array 1 will be in ascending order and data entered in array 2 will be in descending order. You have to fill array 3 in such a way that data in array is placed in ascending order.
(b) You are supposed to make three arrays of integer type data, array 1 having size m, array 2 having size n and array 3 of size m+n. Input in array 1 and array2. You have to fill array 3 from data of array 1 and 2 in such a way that first even numbers from both the arrays will be entered and then odd number will appear in array 3. Place data of array 1 than array 2.
Note: language C++
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started