Question: Write a program that declares two arrays A and B of size 10. Fill array A by generating random numbers within the boundaries 1 and

 Write a program that declares two arrays A and B of

Write a program that declares two arrays A and B of size 10. Fill array A by generating random numbers within the boundaries 1 and 100 using your id number as a seed. Copy only odd numbers from array A to array B, Display array A and B and the count of odd numbers, Note: You may have different output since you get different set of random numbers. Sample Output: Windows systems.codene Elements of Array A: 78 19 51 18 7 69 49 42 29 47 Elements of Array B : 19 51 7 69 49 29 47 Number of elements in Array B are : 7 Press any key to continue

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!