/* * This is txt2morse */ #include int main() { int c; while((c = getchar()) != EOF) { switch(c) { case (c == ' ') : putchar('/'); break; } } }