A small project to calculate net earnings