Write a Java program to get n numbers using Scanner class to store it in an array and
perform the following.
(i) If any of the array element is contains more than two seven digit(Ex: 7072),
calculate the sum of array numbers.
(ii) If you encounter prime number in the given array, check whether all the elements
are exactly divisible by 9. Handle appropriate
exceptions, if it is occurred.
(iii) If your array element is contains more than two seven digit(Ex:7072) and also the
prime number’s then get the new array(same size as the first array) from the user to
perform addition of two arrays.
Answers
Answered by
0
Answer:
which class can't understand say Mr which
Similar questions