@@ -0,0 +1,1162 @@
+import java.util.Scanner;%0A%0A/**%0A * This program determines if a sentence is a palindrome%0A **/%0Apublic class Sentence_Extract_Words %7B%0A    public static boolean is_palindrome(String input) %7B%0A        String y = %22%22;%0A%0A        for (int i = input.length() - 1; i %3E= 0; i--) %7B%0A            y += input.charAt(i);%0A        %7D%0A        if (y.equals(input)) %7B%0A            return true;%0A        %7D else %7B%0A            return false;%0A        %7D%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(%22Checking for Palindromes%22);%0A        Scanner scanner = new Scanner(System.in);%0A%0A        System.out.println(%22Input your sentence%22);%0A        String sentence1 = scanner.nextLine();%0A        String sentence = sentence1.toLowerCase();%0A        String letters = %22%22;%0A%0A        for (int i = 0; i %3C sentence.length(); i++) %7B%0A            if (sentence.charAt(i) %3E= 'a' && sentence.charAt(i) %3C= 'z') %7B%0A                letters += sentence.charAt(i);%0A            %7D%0A        %7D%0A%0A        if (is_palindrome(letters)) %7B%0A            System.out.println(sentence1 + %22 is a palindrome%22);%0A        %7D else %7B%0A            System.out.println(sentence1 + %22 isn't a palindrome%22);%0A        %7D%0A    %7D%0A%7D%0A

Add problem 3 to unit 3