Question: Write a program that declares two arrays A and B of size 10. Fill array B by generating random numbers within the boundaries 50 and
Write a program that declares two arrays A and B of size 10. Fill array B by generating random numbers within the boundaries 50 and 100 using your id number as a seed. Copy only Even numbers from array B to array A, Display array A and B and the count of even numbers. Note: You may have different output since you get different set of random numbers.
sample output :
element of array B: 78: 19: 51: 18: 7: 69 : 49: 42 : 29: 47
elements of array B: 78: 18: 42
number of elements in array A is 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
