1 00:00:00,240 --> 00:00:03,510 Here's a demo of what the finished shopping program will look like. 2 00:00:03,510 --> 00:00:07,270 It needs to greet the user with the message Welcome to the widget store! 3 00:00:07,270 --> 00:00:09,880 Then it needs to ask them How many widgets they're ordering? 4 00:00:09,880 --> 00:00:13,640 It should wait for them to type in a quantity and press Enter. 5 00:00:13,640 --> 00:00:16,480 The program will need to store whatever quantity they enter in 6 00:00:16,480 --> 00:00:18,090 the computer's memory. 7 00:00:18,090 --> 00:00:19,992 Each widget costs \$10, so 8 00:00:19,992 --> 00:00:24,489 the program should multiply the quantity by ten to get the total cost. 9 00:00:24,489 --> 00:00:28,519 It should print out a message that includes the quantity the user typed in 10 00:00:28,519 --> 00:00:29,652 and the total cost. 11 00:00:29,652 --> 00:00:32,661 And one more thing, the store wants to offer discounts for 12 00:00:32,661 --> 00:00:34,840 ordering a lot of widgets at once. 13 00:00:34,840 --> 00:00:40,810 So if a user orders 50 or more widgets, they should only be charged \$9 per widget. 14 00:00:40,810 --> 00:00:42,230 And if a user orders 100 or 15 00:00:42,230 --> 00:00:47,200 more widgets, then they should only be charged \$8 per widget. 16 00:00:47,200 --> 00:00:50,670 So here's our checklist of features our program is going to need. 17 00:00:50,670 --> 00:00:51,950 Over the rest of the course, 18 00:00:51,950 --> 00:00:55,050 we'll learn the Ruby features we need to implement each one. 19 00:00:55,050 --> 00:00:57,440 Then we'll cross that feature off our list when we're done.