Assignemnt #56 Fortune Cookie

Code

    ///Name: Prooz Fereydouni
    ///Period: 7
    ///Project Name: Fortune Cookie
    ///File Name: FC.java
    ///Date: 11/16/2015
  
import java.util.Random;

public class FC
{
    public static void main ( String[] args )
    {
        Random r = new Random();
        int StringRandomness, n1, n2, n3, n4, n5, n6;
        String f1, f2, f3, f4, f5, f6;
        
        n1 = 1 + r.nextInt(54);
        n2 = 1 + r.nextInt(54);
        n3 = 1 + r.nextInt(54);
        n4 = 1 + r.nextInt(54);
        n5 = 1 + r.nextInt(54);
        n6 = 1 + r.nextInt(54);
        
        f1 = "\"Eat somebody while they scream!\"";
        f2 = "\"Defecate in front of your partner while at the dinner table!\"";
        f3 = "\"Kill somebody with a hammer!\"";
        f4 = "\"Cheat on your parter while he/she is watching!\"";
        f5 = "\"Do anything in your life. ANYTHING!\"";
        f6 = "\"Just kill your self or something!\"";
        
        StringRandomness = 1 + r.nextInt(6);
        if(StringRandomness == 1)
            System.out.println("Very Teribble Fortune Cookie says: " + f1);
        if(StringRandomness == 2)
            System.out.println("Very Teribble Fortune Cookie says: " + f2);
        if(StringRandomness == 3)
            System.out.println("Very Teribble Fortune Cookie says: " + f3);
        if(StringRandomness == 4)
            System.out.println("Very Teribble Fortune Cookie says: " + f4);
        if(StringRandomness == 5)
            System.out.println("Very Teribble Fortune Cookie says: " + f5);
        if(StringRandomness == 6)
            System.out.println("Very Teribble Fortune Cookie says: " + f6);
        
        System.out.println("Your lucky supper lotto number is: " + n1 + " - " + n2 + " - " + n3 + " - " + n4 + " - " + n5 + " - " + n6);
    }
}



    

Picture of the output

assignment56