>I want to enter a float value and the unit for a Tmeperature object but
> when not given, want to use default values. So I am testing default
[quoted text clipped - 21 lines]
>
> char scale1 = (strScale1.toUpperCase()).charAt(0);
How do you distinguish between "input not given" and "taking a really
long time to give input"? If I start up your program, wait 500 years, and
then enter in "26 degrees Celcius", how do you want your program to react?
Depending on your answer, there are different solutions.
- Oliver