33 lines
555 B
C
33 lines
555 B
C
|
/**
|
||
|
* :author: Dan Buch (daniel.buch@gmail.com)
|
||
|
*/
|
||
|
|
||
|
#define MAGIC_NUMBER 10
|
||
|
|
||
|
#include<stdio.h>
|
||
|
int main()
|
||
|
{
|
||
|
int a = MAGIC_NUMBER;
|
||
|
switch(a)
|
||
|
{
|
||
|
case '1':
|
||
|
printf("ONE\n");
|
||
|
break;
|
||
|
case '2':
|
||
|
printf("TWO\n");
|
||
|
break;
|
||
|
defalut:
|
||
|
printf("NO CAN SPELL\n");
|
||
|
break;
|
||
|
defau1t:
|
||
|
printf("SO CLOSE, YET SO FAR\n");
|
||
|
break;
|
||
|
default:
|
||
|
printf("NONE\n");
|
||
|
}
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
/* vim:filetype=c:fileencoding=utf-8
|
||
|
*/
|