12 Angry Men

int angryMen = 11;
int nonAngryMen = 1;
int moviePosition = 0;
int movieEnd =96;

public class 12AngryMen()
{
          for(moviePosition<movieLength; moviePosition + 9)
          {
             System.out.println(randArgument);
             angryMen--;
             nonAngryMen++;
          }
          if(moviePosition>=movieEnd)
          {
                 System.out.println("The End");
          {
}
Vote up this code0
  • Paavo Happonen

    undefined variable movieLength

  • Eric

    Also, the “The End” line would never get called, as it’s outside the for loop.