A touch more on the Want Cake? Program
13/04/2020
So here is the end goal for this project, and I know I am miles away from achieving it, but it’s basically going to act as if it’s a shop. Already this concept is starting to take shape, as you can see with the code below. What it’s lacking is overall functionality, so I need to define what are acceptable choices and what are not, so the end-user can’t just type anything that makes no sense with the output. For example, when it asks, “What cake do you want?” you can pretty much enter anything, and it will respond with, “That’s a good choice!” However, I need this program to only say that if it is actually a defined cake. If not, it will say, “Sorry, we don’t have that,” or something to that effect. The same goes for the drink option. Now the program will restart from the beginning. I will be adding an “Is that everything? Yes/No” option. Then, you can either choose Yes, which will say, “Thank you for shopping…” or No, which will ask you what else you would like. This started off as a simple “How many cakes do you want?” and has now become an idea of what I actually want it to do.