-
-
Save codecademydev/b405ed070c67eb2328d2617cf1d490f7 to your computer and use it in GitHub Desktop.
Codecademy export
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
var gaming = prompt("Xbox, PS4, of the master race of a PC?"); | |
switch (gaming) { | |
case 'Xbox': | |
console.log("Good choice young padewan. The force is strong with you!"); | |
break; | |
case 'PS4': | |
console.log("Get out of here..."); | |
break; | |
case 'PC': | |
console.log("I accept your decision."); | |
break; | |
default: | |
console.log("It is either, Xbox or PS4... no " + gaming); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment