You can get three types of coffee: espresso, cappuccino, and latte. The machine works with typical products: coffee, milk, sugar, and plastic cups if it runs out of something, it shows a notification. In this project, you will work on programming a coffee machine simulator. It’s enough to press a couple of buttons on the machine and you get a cup of energy but first, we should teach the machine how to do it. What can be better than a cup of coffee during a break? A coffee that you don’t have to make yourself. Your program should repeat the behavior from the previous stage, now in a loop.ĭo not forget to add an exit opportunity for the program: inputting the word exit must terminate the program.Īt the end of execution, it must print See you! 2. Your program should understand the habitat numbers, show the animals, and be able to work infinitely. In this final stage, your software will be ready for use by the zoo staff. It's time to make your project more convenient and understandable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |