diff --git a/f.go b/f.go index d44a58e..26201eb 100644 --- a/f.go +++ b/f.go @@ -49,7 +49,7 @@ func main() { tokens := strings.Split(input, " ") if len(tokens) != 2 { - fmt.Println("Please enter exactly two floats.") + fmt.Println("Please enter two floats separated by a space") return } old_low, err1 := strconv.ParseFloat(tokens[0], 64) @@ -104,6 +104,7 @@ func main() { new_low = 1.0 / new_high new_high = 1.0 / tmp_low default: + continue } }