im trying to make a small program that asks for a number between 1-10 and then gives out a different prewritten response. this is what i have so far.
import java.util.Scanner;
public class AlasFutureTeller
{
public static void main(String [ ] args)
{
System.out.println("I CAN READ YOUR FUTURE!");
System.out.println("TYPE A NUMBER BETWEEN 1 AND 10 TO MEET YOUR FATE!!");
Scanner oneTen = new Scanner (System.in);
int one == oneTen;
if (oneTen=="one")
System.out.println("YOU WILL GO TO SLEEP TODAY!!");
else if ( oneTen=="two")
System.out.println("YOU WILL HAVE A BIRTHDAY EVERY YEAR UNTIL YOU DIE!!");
else if ( oneTen=="three")
System.out.println("YOU WILL SHOWER SOMETIME IN THIS YEAR!!");
else if ( oneTen=="four")
System.out.println("YOU WILL LIVE UNTIL YOU THE DAY YOU DIE!!");
}
}