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 string=scanner.nextLine();
			String temp=string.toLowerCase();
			if (temp.contains("salt")) {
				System.out.println(string);
			}
		}
	}
}

Double click to view unformatted code.


Back to problem 84