PTA 7-64 笑话

汤普森先生讲了一个笑话,朋友们都笑了。

输入样例


注:无输入。

输出样例

                          The Joke

    Sir William Thompson  was very deaf  but he did not like
people to  know this.  One evening  he  had invited  several
friends to dinner, and while they were sitting at the table,
one of the friends told a funny story. Everyone laughed, and
Sir William, who had laughed as loud as anyone,  said,  That
was a very funny joke,  but I know a funnier one.  Would you
like to hear it?   They all said they would,  so Sir William
began his story. When it ended, everyone laughed louder than
ever and Sir William smiled happily.  But he didn't know the
reason for their laughter.  He had told the very same  story
that his friend had just told.

提示:如果你使用的是 Windows 7/8/10 操作系统,需要对运行窗口进行设置。

  • 用鼠标右键点击窗口标题栏,选择“属性”
  • 切换到“选项”卡片,选择“使用旧版控制台”
  • 切换到“字体”卡片,字体选择“点阵字体”,大小选择“8×16”
  • 点击“确定”按钮

代码

#include<stdio.h>
int main()
{
    printf("                          The Joke\n"
"\n"
"    Sir William Thompson  was very deaf  but he did not like\n"
"people to  know this.  One evening  he  had invited  several\n"
"friends to dinner, and while they were sitting at the table,\n"
"one of the friends told a funny story. Everyone laughed, and\n"
"Sir William, who had laughed as loud as anyone,  said,  That\n"
"was a very funny joke,  but I know a funnier one.  Would you\n"
"like to hear it?   They all said they would,  so Sir William\n"
"began his story. When it ended, everyone laughed louder than\n"
"ever and Sir William smiled happily.  But he didn't know the\n"
"reason for their laughter.  He had told the very same  story\n"
"that his friend had just told.\n");
    return 0;
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值