InterviewSolution
Saved Bookmarks
| 1. |
Anyone knows one-dimensional array in Java Create a program using a one-dimensional array that will group numbers in an array following the given groupings provided below: Range Group 01-10 1 11-20 2 and so on... There will be 10 values as interval. Your program will only terminate once the input is 0 and below and above the highest range of 100. Sample Run: Enter an integer number: 22 22 belongs to Group 3 Enter an integer number: 5 5 belongs to Group 1 Enter an integer number: 0 Goodbye |
|
Answer» Anyone KNOWS one-dimensional array in JavaCreate a program using a one-dimensional array that will GROUP numbers in an array following the given groupings provided below:Range Group 01-10 111-20 2 and so on...There will be 10 values as interval. Your program will only terminate once the input is 0 and below and above the highest range of 100.Sample Run:Enter an integer number: 2222 BELONGS to Group 3Enter an bjh |
|