Project Number 1 and Choose Your Own Slightly Longer Adventure!

Code

    /// Name: Mahima Choudhary
    /// Period: 6
    /// Program Name: Choose Your Own Slightly Longer Adventure!
    /// File Name: LongAdventure.java
    /// Date Finished: 12/3/2015
    
          import java.util.Scanner;

    public class Project1
    {
    
        public static void main(String[] args)
        {
        
        Scanner keyboard = new Scanner(System.in);
        
                String r1, e1, f1, f2, f3, e3, e4, f4, e5="";
            
            System.out.println( "Welcome to my adventure!" );
            System.out.println( "You are in a movie. There are many possibilities that will make your life successful or not." );
            System.out.println( "This is your life. " );
            System.out.println( "You are auditioning for the Wizard of Oz. What part do you audition for? (dorthy, toto, oz)" );
            System.out.print( ">" );
            r1 = keyboard.next();
            System.out.println( "" );
          
            
            if (r1.equals("dorthy"))
            {
                System.out.println( "Congrats they loved your voice so you get the part." );
                System.out.println( "They think that you are so good that you can perform in two parts. Do you take the offer? (yes or no)" );
                System.out.print( ">" );
                e1 = keyboard.next();
               
                //yes
                if (e1.equals("yes"))
                {
                    System.out.println( "You take the parts but your life gets so stressful you have no time for anything else." );
                    System.out.println( "You get depressed and are unable to continue being an actor." );
                          System.out.println( "You have two choices at this point." );
                    System.out.println( "Do you get yuor life together or give up? (get life together or give up)" );
                    System.out.print( ">" );
                    f1 = keyboard.next();
                    System.out.println( "" );
                    
                    //take
                    if (f1.equals("life together"))
                        {
                            System.out.println( "You decide to become an acoountant and your life takes a nice turn." );
                        }
                    else if (f1.equals("give up"))
                        {
                            System.out.println( "you give up and end up being homeless, sorry." );
                        }
                }
        
                        

                
                else if (r1.equals("toto"))
                {
                    System.out.println( " So this role takes a lot of effort. It requires you to crawl on four for the entire extent of the movie.Toto in this movie is allowed to do flips when corthy pats him. The director wants you to learn how to flip from crawling postion. Will you take the flipping classes. (yes or no)" );
                    System.out.print( ">" );
                    e3 = keyboard.next();
                    System.out.println( "" );
                    
                    //wake
                    if (e3.equals("yes"))
                    {
                        System.out.print( "You show your dedication and successfully pull off every flip in the movie" );
                        System.out.print( "The director loved your role so much in the movie that he even offers for you to be the dog in his new movie, Marley and Me. Do you accept or decline? (accept or decline) ");
                        System.out.print( ">" );
                        f3 = keyboard.next();
                        
                        if (f3.equals("accept"))
                        {
                            System.out.print( "Unfortunatley there is a better actor than you, and you are unemployed> ");
                        }
                        else if (f3.equals("decline"))
                        {
                            System.out.print( "You think you can do better than playing a dog for your job so you wait to get better offers, but no offers ever come and you have no life now." );
                        }
                        
                        
                    }
                    //look
                    else if(e3.equals("no"))
                    {
                        System.out.println( "You refuse to take th classes, thinking it will embarass you for life." );
                        System.out.println( "The director understands your self insecurities and so offers you a job as the coffee girl. Do you take the job. (yes or no) ");
                        System.out.print( ">" );
                        f3 = keyboard.next();
                        
                        if (f3.equals("yes"))
                        {
                            System.out.println( "You take the job and the love your dedication to getting the right coffee order everytime and promote you to lunch girl> ");
                        }
                        else if (f3.equals("no"))
                        {
                            System.out.println( "You thought that doing flips were embarassing, you cant even imagine bringing other actors their coffee. Youre outie." );
                        }
                    }
                    
                }
            
            else if (r1.equals("oz"))
            {
                System.out.println( "You want to be the wizard of oz, this is a main lead. here is you make it or break it time. What do you do? (make it or break it" );
                System.out.print( ">" );
                e4 = keyboard.next();
                System.out.println( "" );
                
                if (e4.equals("make it"))
                    {
                        System.out.println( "You play a fanstic role and the audience loves you. The director thinks you should become his co director in the new mission impossible movie. do you accept or decline? (accept or decline" );
                        System.out.print( ">" );
                        f4 = keyboard.next();
                        System.out.println( "" );
                    
                    if(f4.equals("accept"))
                    {
                        System.out.println( "good decision a co director makes a lot of money." );
                    }
                    else if(f4.equals("decline"))
                    {
                        System.out.println( "You are unemplyed and no one else want you so you become poor and live on the streets." );
                    }
                    
                else if (e4.equals("break it"))
                {
                    System.out.println( "Thats too bad. the director feels bad for yuo and offers you another role. Take it or leave it? (take it or leave it)");
                    System.out.print( ">" );
                    e5 = keyboard.next();
                    System.out.println( "" );
                }
                    if (e5.equals("take it"))
                    {
                        System.out.println( "You take it thinking it you only option which is smart because you have no other options." );
                    }
                    else if (e5.equals("leave it"))
                    {
                        System.out.println( "Wrong decesion, do you know how hard it is to get a job in this economy. Maybe next time." );
                    }
                }
            }
        }
    }
    

Picture of the output

Project Number 1