Question: Write a java program that: Asks the user to enter 10 integers and save them into an array named list. Find and print the
Write a java program that: Asks the user to enter 10 integers and save them into an array named list. Find and print the number of the negative element in the list that are divisible by 5. If no number found, print on screen "no negative number divisible by 5 found in the list " Sample Input/Output: Enter 10 numbers: -10 15 9 -1 -5 7 -15 11 3 20 There are 3 negative numbers divisible by 5 in the list
Step by Step Solution
There are 3 Steps involved in it
Certainly Heres a Java program that fulfills the requirements java import javautilScanner public ... View full answer
Get step-by-step solutions from verified subject matter experts
