05-22-2022 11:40 AM
Hi ,
you find here an Example that could help you.
05-22-2022 12:38 PM - edited 05-22-2022 12:40 PM
I would just keep it simple.... (no popups!!!!!)
(And NO, this does not follow the requirements! This is just to give you some ideas in general!)
05-22-2022 01:02 PM
This does look a lot more refined and elegant I will take my time to figure out exactly what you are doing here. the file I sent was purely based on the examples the teacher showed me.
05-22-2022 01:03 PM
@Emna20 wrote:
Hi ,
you find here an Example that could help you.
Please don't use unusual file formats (*.rar) that force windows users to install third party software to extract. Nobody will because some random rar extractors found on the internet may contain malware!!! Zip is built into windows explorer and is perfectly fine for everything!
Some comments to your code:
05-22-2022 01:05 PM
Thanks for your answer and time but I can't open it it shows a text file with weird symbols.
05-22-2022 01:14 PM
@Dorime_Z_karen_slayer wrote:
Thanks for your answer and time but I can't open it it shows a text file with weird symbols.
I assume you are talking about the rar archive. Just don't even bother until it is posted as zip file.
(And as you can glean from my earlier comments, the contained code is probably not very useful as a learning tool)
05-22-2022 01:47 PM
Thanks again I really appreciate the time and help you have given me.
05-22-2022 04:56 PM - edited 05-23-2022 10:27 AM
I just had another few minutes to quickly clean it up, add a dispensing simulation and make it a bit more scalable. Now all drink specs are in a single diagram constant, so to change the price, name of drink, color of drink, or size of drink, all you need is edit the array constant. No need to hunt all over the diagram.
Also note that you should never (never ever!) hide terminal labels on the diagram.
05-23-2022 12:42 AM
This is so cool I love it. This really gives me the motivation to practice more so I can program like this one day. For now, I'm still going to use the code that I spent a few days on since I don't have enough time to understand how you did it (the deadline is tomorrow and this 1 out of 8 assignments). Many thanks again I would like to know enough one day to help others as you just did :D.