I'm working on a java assignment and was stuck on this part. Basically we are to get the user to input three positive non-zero integers using the scanner.
It's supposed to look something like this
Enter three integer values: 2 2 10
The numbers (2, 2, 10) cannot form a triangle.
I was wondering how can I code it so that entering the "2 2 10" could be read as three different integers that are separated by a comma. Thank you very much in advance.