Last active
July 19, 2016 09:21
-
-
Save aetos382/b33e8cbe32881c3cbb380816a1139319 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case (order) | |
{ | |
case "Small Coffee": | |
return 5.0; | |
case "Small Coffee. please.": | |
return 3.0; | |
case "Hello, one small coffee please.": | |
return 1.75; | |
default: | |
throw new OrderCantRecognizedException(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment