teaching machines

CS 145 Lab 2 – Math and Strings

September 15, 2019 by . Filed under cs1, cs145, fall 2019, 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 labs.lab02 package in your IntelliJ project.

Complete two of the following problems:

Checkpoint 2

Person B types.

Complete two of the following problems: