View Code of Problem 84

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            String get = scanner.nextLine().toLowerCase();
            if (get.contains("salt")) {
                System.out.println(get);
            }
        }
    }
}

Double click to view unformatted code.


Back to problem 84