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
Answers
Answered by
0
Answer:
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 bjh
Similar questions
Computer Science,
1 month ago
Hindi,
1 month ago
English,
1 month ago
English,
2 months ago
Math,
2 months ago
Business Studies,
8 months ago
English,
8 months ago