corporate profit calculations for repeated numbers www.programmerall.com