forked from BoiseCodeWorks/fireside-lateSummer19-ISmoothie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Program.cs
45 lines (43 loc) · 1.1 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using SmoothieShack.Models;
using SmoothieShack.Services;
namespace SmoothieShack
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
var SmoothieShackShack = new Menu();
var checkout = new CheckoutService();
var bestFriendsMug = new Chachkie()
{
Name = "Worlds Okayest Friend",
Price = 17.99m
};
var apple = new Fruit()
{
Name = "Apple",
Price = .5m
};
var caffiene = new EnergyShot()
{
Name = "Double Double",
Price = .75m
};
var sunrise = new Smoothie()
{
Name = "Sunrise"
};
sunrise.Fruits.Add(apple);
sunrise.Shots.Add(caffiene);
// SmoothieShackShack.AvailableFruit.Add(apple);
// SmoothieShackShack.Shots.Add(caffiene);
var jakesOrder = new Order();
jakesOrder.Smoothies.Add(sunrise);
jakesOrder.Souvenirs.Add(bestFriendsMug);
// jakesOrder.Souvenirs.Add
checkout.PrintTotal(jakesOrder);
}
}
}