write a method  that called smallestLargest that accepts a Scanner for the console as a parameter and ask the user to enter numbers, then prints the smallest and the largest of all the numbers supplied by the user. you may assume that the user enters a valid number greater than 0 for the number of numbers to read please return the answer in a simple introduction level to programming principles need to be basic nothing too complex.

Leave a Reply

Your email address will not be published.