diff --git "a/\344\273\267\345\200\274\344\270\200\344\270\252\344\272\277\347\232\204\344\272\272\345\267\245\346\231\272\350\203\275.md" "b/\344\273\267\345\200\274\344\270\200\344\270\252\344\272\277\347\232\204\344\272\272\345\267\245\346\231\272\350\203\275.md" new file mode 100644 index 0000000000000000000000000000000000000000..4842c13294a81ad48034f8cccbcf23076572a18c --- /dev/null +++ "b/\344\273\267\345\200\274\344\270\200\344\270\252\344\272\277\347\232\204\344\272\272\345\267\245\346\231\272\350\203\275.md" @@ -0,0 +1,19 @@ + +``` +import java.util.Scanner; + +public class AiMain { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + String str; + while (true) { + str = sc.next(); + str = str.replace("吗", ""); + str = str.replace("?", "!"); + str = str.replace("? ", "! "); + System.out.println(str); + } + } +} +``` +![输入图片说明](https://images.gitee.com/uploads/images/2020/0527/112250_3d559028_123301.png "屏幕截图.png") \ No newline at end of file