|
package main
|
|
|
|
import "fmt"
|
|
|
|
// TODO: Figure out error handling and prevent people from breaking this
|
|
|
|
func compare(number float64) {
|
|
if number >= 1 && number <= 10 {
|
|
fmt.Printf("%v is between 1 and 10\n", number)
|
|
} else {
|
|
fmt.Printf("%v isn't between 1 and 10\n", number)
|
|
}
|
|
}
|