need help displaying in a ticket sales program c++

Hi I have written a ticket sales program that you gets you a discount for every ten tickets you sell. everthing is well except I need help displaying the number of passangers needed to generate max profit and the ticket cost of max profit. I have already gotten the max profit in my code but cant figure out how to show the others. could someone please help thanks
Last edited on
Topic archived. No new replies allowed.