Write a function that repeatedly reads numbers input by a user until the user enters done. Once
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a function that repeatedly reads numbers input by a user until the user enters ‘done’. Once ‘done’ is entered, sort all the numbers in ascending order. Print the total number of entered numbers and all the numbers in ascending order. Write a function that repeatedly reads numbers input by a user until the user enters ‘done’. Once ‘done’ is entered, sort all the numbers in ascending order. Print the total number of entered numbers and all the numbers in ascending order.
Below is an illustration that the user does not make errors when entering numbers. You need to consider exception handling in your code to get a full grade.
Related Book For
Posted Date: