【评分标准】首先打印提示Input a string:;然后直接在冒号后面输入字符串,字符串中可以包含空格;字符串以回车结束。
打印提示Input a char: 然后直接在冒号后面输入一个字符;回车。
【输出形式】
首先打印After deleted,the string is:紧跟后面输出被删除后的字符串剩余内容;换行。
【运行时的输入输出样例】(下划线部分表示输入)
Input a string:happy new year
Input a char:a
After deleted,the string is:hppy new yer