ICS 111 Programming Algorithm

1. Read and understand the programming problem.

2. Create a Java file to solve the programming problem. Make a comment with the problems statement at the top of the file.

3. Insert the Java boilerplate

/**
 * A program that <restate the problem statement>.
 * @author <your name>
 */
public class <program-name> {

  /**
   * <restate the problem statement>
   * @param args <description of the arguments if used else 'not used'>
   */
  public static void main(String[] args) {
  
  
  
  }
}

4. Write the steps to solve the problem as comments in the main subroutine.

5. Refine the steps until you can replace the comments with Java code.