class Credits2{
    public static void main(String[] arguments) {
        //set up film information
        String title = "Dirty Dancing";
        int year = 1987;
        String director = "Emile Ardolino";
        String role1 = "Baby Houseman";
        String actor1 = "Jennifer Grey";
        String role2 = "Johnny Castle";
        String actor2 = "Patrick Swayze";
        String role3 = "Jake Houseman";
        String actor3 = "Jerry Orbach";
        String role4 = "Marjorie Houseman";
        String actor4 = "Kelly Bishop";
        String role5 = "Penny Johnson";
        String actor5 = "Cynthia Rhodes";
        String role6 = "Neil Kellerman";
        String actor6 = "Lonny Price";
        String role7 = "Lisa Houseman";
        String actor7 = "Jane Brucker";
        String role8 = "Robbie Gould";
        String actor8 = "Max Cantor";
        //display information
        System.out.println(title + " (" + year + ")\n" +
                "A " + director + " film.\n\n" +
                role1 + "\t" + actor1 + "\n" +
                role2 + "\t" + actor2 + "\n" +
                role3 + "\t" + actor3 + "\n" +
                role4 + "\t" + actor4 + "\n" +
                role5 + "\t" + actor5 + "\n" +
                role6 + "\t" + actor6 + "\n" +
                role7 + "\t" + actor7 + "\n" +
                role8 + "\t" + actor8) ;
    }
}

Related Projects