+ 1
Challenge 1
eg string is "test" when I give in output screen 'e' it has to remove e in the test and print as tst what will the solution for this either in c or java
1 Answer
+ 4
Java (One liner) :
System.out.println("test".replace("" + new java.util.Scanner(System.in).next().charAt(0), ""));