Write a program that:Reads 10 numbers, one by one, using a for loop.Use switch-case statement to do following: If the number is
between 1 and 5, store it in one array, if the number is between 6 and 10,
store it in a second array, if the number is between 11 and 15 store it in a
third array. In all other cases display a message saying “The number is out of
range! Enter a number between 1 and 15”.
In the end, display the elements of each of the
three arrays with some type of heading
I Read your blog and get great information for programming language.
ReplyDelete