Let f : R → R be continuous. Show that {x : f (x) > 0} is an open subset of R and {x : f (x) = 0} is closed in R.