Hi, so I'm trying to get my program to output this specific piece of code:
What size would you like?
Please enter small, medium, or large: (user input)
Enter flavor 1: (user input)
Enter flavor 2: (user input)
For some reason, my code does it like this:
What size would you like?
Please enter small, medium, or large: (user input)
Enter flavor 1: (user input)
Enter flavor 2: (user input).
Problem Solved! Code deleted for homework assignment.
Last edited on
Look at your code and play with things until it looks correct? Must be something between entering flavor 1 and 2.
Last edited on
because you have cout <<endl<< "Enter flavor 2: ";r flavor 2: "; your ending the line between the two, thats why you get the space.
Last edited on