COFFEE AND TEA VENDING
MACHINE
TITLE PAGE.
NAME: ZAINAB MOHAMMAD ASLAM.
STUDENT ID: 336119.
COURSE: DEVELOPER LAB.
TEACHER: MA’AM ARSHIYA.
ASSISSMENT TITLE: COFFEE AND TEA
VENDING MACHINE BATH SPA UNIVERSITY.
STUDENT ID: 336119
CONTENTS
TITLE PAGE 0
REPORT. 2
FEATURE/DESCRIPTION 2
ALGORITHM 2
FLOW CHART 4
SCREENSHOTS 7
CONCLUSION 13
REFERENCES 13
COURSE: DEVELOPER LAB
TEACHER: MA’AM ARSHIYA
ASSISSMENT TITLE: COFFEE AND TEA VENDING MACHINE BATH SPA UNIVERSITY
REPORT.
ABSTRACT:
This report help us to understand the working of a coffee & tea vending machine. The machine will automatically reset as soon as it will dispense the desired item. The machine is user-friendly and have the flexibility to accept any amount, it will return the change but will not accept
…show more content…
1. Firstly the user have to input 1 for cup.
2. Otherwise the program will not proceed.
3. User have to select between coffee and tea and press the corresponding option. 4. Otherwise the program will not proceed. 5. If the user selects coffee, and inputs the coffee brand code then it will display the conditions and the selected item with its amount. 6. If the user inputs invalid coffee code the program will not proceed. 7. Program will ask the user to press 1 or 0 for sugar selection.
8. If the user input invalid option the program will not proceed. 9. Then the program will show the user’s selected choice and then display coffee types and ask the user to input the coffee type option.
10. The program will not proceed if the user input wrong code.
11. After the type selection it will ask the user to input the amount.
12. If the user inputs the correct amount it will display the receipt, dispense the item and will automatically reset. 13. If the user input less amount more than two times, the money will be returned. 14. If the user inputs more money it will return the change and dispense the
Remove some items from the cart – the cart should update showing the existing items in the cart, total price should reflect the new sum. Remove all items from the cart – cart balance should be zero, no items should be displayed in the cart. Click on an item in the cart – we should be able to see more information about the product we just clicked either as a popup or redirecting to product page. Checking out including providing an address and paying: Check different payment options If allowing check out as Guest, simply finish the purchase and provide an option to register at the end Returning customers – Login to check out User sign up
#Name:M.Waleed Liaqat #Student Number:10385830 #Unit Name :Programming Principle CSP5110 #Instructor name:Greg BAATARD #Campus:Joondalup import json def inputInt(prompt): while True: try: myInt = int(input(prompt)) if myInt < 1: print("input value should be at least 1 or greater") else: break except ValueError: print("Enter Integer greater then 1 or integer value") return myInt def inputSomething(prompt): while True: userInput = input(prompt) if not userInput.strip(): print( 'Please Enter SomeThing ! ')
self.__checkNumber("Please enter the second number: ") def __checkNumber(self, strMessage): #Ensures imputed value is a number loop = True while loop: try: userInput = float(input(strMessage)) except ValueError: print("Please enter
Sample questions for midterm 1. In a skewed distribution, which of the following values is most likely to be dragged toward the longer tail of the distribution? a) the mean b) the mode c) the median d) none of the above 2. Which of the following RFM codes represents a potentially very valuable customer who hasn’t bought recently and should be encouraged to order? a) 511 b) 111 c) 151 d) 115
STANDARDS A. Virginia Standard of Learning: 3.MD.8 The student will determine, by counting, the value of a collection of bills and coins whose total value is $5.00 or less, compare the value of the bills and coins, and make change. (Virginia Department of Education, 2011).
Brief Summary of the lecture contents, lab activity, group discussion and reading materials Week five, we continue learning key components of web programming, and this week we are going to be trained in two of the most sensitive and important practices on internet nowadays; online payments and security practices. We will be installing, configuring and operating eComerce applications, really important especially if you wan to be a good programmer and/or system administrator. After reading the material provided and becoming familiar with the topics we had to use this model to create some server script.
TU,Ts,Tv Timestamp of user’s mobile phone, server and vending machine respectively. KUS Shared secret key between user’s mobile and server H ( ) One-way Hash function TN N time’s Time || Concatenation Ds Server Payment Decision PI Payment information including IDv and price NU, NS Nonce
However, the argument placed much emphasis in the hands of an object as simple as coffee. In the contemporary world, people employ coffee as a stimulant, particularly in the morning to wake up individuals that are tired or struggling throughout the day, however, the stimulant does not trigger the intellect of individuals. The numerous people that were featured in the essay were significant since they demonstrated the ability to identify and solve a problem that was set by society. The primary reason for their success was due to the change in the times and the introduction of caffeine products and coffee, which substituted alcohol that was a popular
Growing up we have all heard that sound of useless coins jingling in a pocket. The majority of the time the change in the pocket is pennies, because nobody wants to use them. The pennies will either get stuck in the washing machine, or fall onto the grounds of the Earth, and no one will ever use them. Why?
“Drinking Coffee Elsewhere” by ZZ Packer follows the story of Dina, a young black girl from Baltimore, as she copes with life studying at Yale (117-119). Throughout the story, Dina seems to be a fiercely and independent character that likes to be on her own and away from society. She always speaks her mind, regardless of the consequences, but her independence destroys her because of her lack of introspection. This helps her to give up things that will help her get out of her individualism. Due to this, she pushes away the only friend she has because of her inability to understand herself, and her toxic personality.
Stanley Milgram wants to know how people would go in obeying an instruction. For his experiment he stand a procedure it is different from others. His experiment taken at human beings. 40 males aged between 20 and 50 were selected for the experiment, These 40 males were professionals who is unskilled. There is a teacher and learner in his experiment.
Thus the measurements will repeat for each experiment, where the paper cup’s height from the ground varies in each
By storing and handling these kinds of data, Starbucks could analyse the data and to facilitate its product innovation in order to keep their existing customers and attract more new customers. It also helps employees to know the updated data of the demand of different kind of coffee to predict their sales revenues. It provides interaction with suppliers so that Starbucks could share the data with their suppliers to have a better forecast of the demand of coffee beans. 2.
We enjoy market leadership and are fast expanding. We have the largest franchise network of outlets within the country, having presence in all major urban centres, and are prepared to explore market potential in Gulf, UK, USA and Europe soon It’s a long history of 40 years of hard work, perseverance and passion. The idea of establishing Cafe Students was conceived and materialized by Haji Mohammad Ali (Late) in 1969 with very humble beginnings. It all started from home cooked Biryani and a few other dishes served from a small eatery located in the middle of the city, Saddar, Karachi.
Winter was just around the corner. It was my first time in the biggest coffee shop in town. I could see the cheerful and brilliant lighting of the shop as I walked across the vast parking lot. There were tables outside the shop each with a brown vintage style umbrella. This particular coffee shop is not a cafe, it’s a coffee shop literally.