Double characters

Report a typo

Write a program that reads a string and then output another string with doubled characters.

Sample Input 1:

The

Sample Output 1:

TThhee
Write a program in Java 17
class Main {
public static void main(String[] args) {
// put your code here
}
}
___

Create a free account to access the full topic