teaching machines

CS 145 Lab 7 – Loops

October 28, 2019 by . Filed under cs1, cs145, fall 2019, labs.

Welcome to lab 7!

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 the following problems.