Question: Write a program that declares two arrays A and B of size 10. Initialize all locations of array B to an integer 3 multiplied
Write a program that declares two arrays A and B of size 10. Initialize all locations of array B to an integer 3 multiplied to its subscript number. Copy only odd numbers from array B to array A, Display array A and B. Sample Output: CAWindowsystem32cmd.exe Array B: 3 6 9 12 15 18 21 24 27 Array A : 9 15 21 27 Press any key to continue W
Step by Step Solution
There are 3 Steps involved in it
Heres a simple Java program that follows the specified requirements p... View full answer
Get step-by-step solutions from verified subject matter experts
