You forgot the semicolon after the class definition (line 34).
Notice that, as it is, your constructor won't work. You're assigning (=) the values instead of comparing them (==) in the if statements.
Also, why are you storing floats and asking for doubles?
Last edited on