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