Answer:
I remember before the corona virus we used to do math at school
It could glitch out or be hacked or deleted.
import java.util.Scanner;
public class JavaApplication83 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Enter Strings: ");
String word1 = scan.nextLine();
String word2 = scan.nextLine();
String newWord = "";
if (word1.length() == word2.length()){
for (int i = 0; i < word1.length(); i++)
{
newWord += word1.charAt(i) +""+word2.charAt(i);
}
}
else{
newWord = "error";
}
System.out.println(newWord);
}
}
I hope this helps!
It might be a virus, when my computer starts going crazy i just bought a fixme stick and they work amazing or trying getting an expert to fix it if it worse