So I am developing a program that asks the user if he/she wants to buy tickets to a concert. If the user types "B" the program asks the user to enter how many tickets they want and outputs a price. This process should loop until the user enters "F" instead of "B". This seems so simple but I can not figure it out for the life of me.
look at what dutch says then look at lines 30 & 36.
Also look where you created cont what does it equal when you try to run the first pass of the loop. Hint: it's undefined.