Declaration and definition of variable projectProfit with calculation.