Question: Smallest Number: Write a program that counts the numbers and finds the smallest number in a sequence of nonnegative numbers entered by the user from

Smallest Number: Write a program that counts the numbers and finds the smallest number in a sequence of nonnegative numbers entered by the user from input dialog boxes. The user should be told to type in any negative number to stop input. You must trap nonnumeric input, the negative number is not courted and is not the smallest number. There is a separate message if no nonnegative numbers are entered.
need help with this problem in Visual Studio with coding done in Visual Basic not Visual C#. Also need to include error traps and try catches if needed
6.1 Exerci ._ .. Error trap for non-numeric input. Any negative number will stop input. All valid nonegative numbers (including zero) are counted Message shows minimum and count. Different message if count is zero Find Smallest Number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
