Question: Method name: findSmallestNumberInTwoStrings Parameter(s): Two String parameters. Each string is made up of numbers separated by spaces. The first string must have at least one
Method name: findSmallestNumberInTwoStrings Parameter(s): Two String parameters. Each string is made up of numbers separated by spaces. The first string must have at least one number. Return value: An int containing the smallest number found in the two strings. Example: findSmallestNumberInTwoStrings("12 3 5", "2 -1 10") would return -1.
Please do not use arrays, only scanners. The language is Java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
