Functions and Methods

Part 1:

We’re going to take another look at functions and do some math today. Complete this worksheet before moving on to Part 2.

Part 2:

We will now take our multi-variable functions and turn them into multi-parameter methods in Java. Clone the git repository and edit the two Java files in the project: GeometryLab.java and GeometryLabTest.java. The first Java file will have your method definitions from the worksheet. The second file will have a main method with the method invocations/calls from the worksheet and use System.out.println to print out your answers. Check your answers with the worksheet answers from Part 1.

Posted in apcsa