/*
Lauren Dukes
CPSC 1110 Example

Shows an example of using a switch statement with the character variable type.
When you enter a letter a through f, it will give you the NATO phonetic alphabet associated.

http://www.osric.com/chris/phonetic.html
*/
#include <stdio.h>

int main(void){
	char c;
	printf("Enter a letter: ");
	scanf("%c",&c);

	switch(c){
		case 'a':
			printf("alpha\n");
			break;
		case 'b':
			printf("bravo\n");
			break;
		case 'c':
			printf("charlie\n");
			break;
		case 'd':
			printf("delta\n");
			break;
		case 'e':
			printf("echo\n");
			break;
		case 'f':
			printf("foxtrot\n");
			break;
	}
}

