05-08-2013, 12:20 AM
Code:
import java.util.Scanner;
public class test3 {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args)
{
String a = "Warrior";
System.out.println("What are we?\na.Warriors\nb.Mages\nc.Noobs");
String answer = sc.nextLine();
if (a == answer)
{
System.out.println("That's fucking correct. Let's move on");
}
else
{
System.out.println("Wrong. That's just wrong");
}
}
}