teaching machines

CS 148: Lab 8 – Loops

November 1, 2017 by . Filed under cs1, cs148, fall 2017, labs.

Welcome to lab 8!

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.

In this lab, we’ll explore loops, which let us execute a task many times, but only code it once.

Checkpoint 1

Person A types. Log in to Coding Bat and solve the following problems:

Checkpoint 2

Person B types. Create a package lab07 in your Eclipse project. Solve at least two of the following problems.