Java - Assignment

Calculates the charge of an advertisement