added prompt for percentage, added calculation for ticket percentage