Skip to content

Instantly share code, notes, and snippets.

@iamtis
Created September 17, 2018 17:14
Show Gist options
  • Save iamtis/923baae810ad6f2fd05c3aec08a4b6fe to your computer and use it in GitHub Desktop.
Save iamtis/923baae810ad6f2fd05c3aec08a4b6fe to your computer and use it in GitHub Desktop.
switch(i){
case 1:
cout << "one" << endl;
case 2:
cout << "two" << endl;
case 3:
cout << "three" << endl;
case 4:
cout << "four" << endl;
case 5:
cout << "five" << endl;
case 6:
cout << "six" << endl;
case 7:
cout << "seven" << endl;
case 8:
cout << "eight" << endl;
case 9:
cout << "nine" << endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment