-->
当前位置:首页 > 题库

PROGRAMMING:Removes the specified character from the string

Luz5年前 (2021-05-10)题库373
Delete the specified character in the string. The string and the character to be deleted are entered by the keyboard.
###Input format:
In the first line, enter a string no more than 20 in length and end with carriage return; Enter a character to be deleted in the second line and end with enter.
###Output format:
Output a string in one line with the specified characters deleted.
###Input example:
```in
abcdcf
c
```
###Output example:
```out
abdf
```






answer:If there is no answer, please comment