teaching machines

CS 145: Lab 2 – Math and String

September 17, 2017 by . Filed under cs1, cs145, fall 2017, labs.

Welcome to lab 2!

If you have checkpoints from the last lab to show your instructor or TA, do so immediately. No credit will be given if you have not already completed the work, nor will credit be given after the first 10 minutes of this lab.

Work with a partner that you have not worked with before.

Our goal today is acquaint ourselves with methods of the Math and String classes.

Checkpoint 1

Person A types. Make a lab02 package in your Eclipse project.

Complete two of the following problems:

Checkpoint 2

Person B types.

Complete two of the following problems: