import java.util.Scanner; public class Hangman { // addes a new found character to the string public static void newChar(String source, char[] target, char c) { // putting a new char into the target string for(int i =0; i'Z' && c<'a') { return false; } if(c > 'z') { return false; } return true; } // Returns a new character to put into the word public static char useHint(String prev, String full) { for(int i =0;i