salary math

salary math java exercise