Question: please write program in java, this is the only language that is acceptable Write a java program to perform the following functionality. 1. Get the
Write a java program to perform the following functionality. 1. Get the length of the array from the user. 2. Based on the length, read the array's elements. Elements must always be greater than or equal to zero. 3. If the array length is even, pick all the even numbers from it, otherwise pick the odd numbers. 4. As a result of the above step, map the elements of the array to the alphabet and print the alphabet. For instance, if the array element is 0 print ' a ' or ' 'A'. In the event that an array element exceeds 25 then it should be discarded. Sample Input: Enter the length of Array: 10 Enter elements: 13 14 20 7 90 101 27 4 13 65 Even Array: 1420904 CharacterMapping : OUE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
