/*
* To
change this template, choose Tools | Templates
*
and open the template in the editor.
*/
package javaapplication4;
import java.io.IOException;
/**
*
*
@author dell
*/
public class Main
{
/**
* @param args the command line arguments
*/
public static void main(String args[]) throws IOException {
System.out.println("中国足球能否进入世界杯?");
System.out.println("是(y) 否(n) 不一定(p)");
char c = (char) System.in.read();
if (c == 'y') System.out.println("Cool");
else if (c == 'n')
System.out.println("Bad");
else if (c == 'p')
System.out.println("Sorry");
else
System.out.println("Input
Error");
}
}












