调试不出来,求大神看下哪里错了

#include
int main()
{

printf("Enter some texts:\n");
char ch;
int ct1=0;
int ct2=0;


while((ch=getchar())!='#')/*读取,读到#停止,用感叹号替换句号,两个感叹号代替原来感叹号,报告替换次数*/

{

switch(ch)
{

case'.':
    putchar('!');
    ++ct1;
        break;
case'!':
    putchar('!');
    putchar('!');
    ++ct2;
        break;
default:putchar(ch);

}
}
printf("%d replacements of .with !\n",ct1);

printf("%d replacements of !with !!\n",ct2);

return 0;

}

http://blog.csdn.net/a973893384/article/details/7523336

图片说明
不知楼主程序运行时出了什么问题,这张图片是你的代码在我本地运行的结果,貌似已经实现了目标

先要说清楚你到底要实现什么东西啊?

同学,你的代码里面少了, 其他并没有什么问题,有什么奇怪的吗?

#include 〈stdio.h〉
int main()