Question: Question 11 (20 marks). Write a program in Java which will: 1. Read ten (10) integers from the keyboard. These integers are to be between

 Question 11 (20 marks). Write a program in Java which will:

Question 11 (20 marks). Write a program in Java which will: 1. Read ten (10) integers from the keyboard. These integers are to be between 0 and 99. 2. If the user types an incorrect number they should be prompted to try again - this process must be repeated until the user types a valid number 3. When all the numbers are entered the output lists the total numbers divisible by 2 and 5 . For example, if the following numbers are entered: 23045627888490855 The output will be: Divisible by 2:8 numbers Divisible by 5:4 numbers

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!