CS 161 Lab B - Calculating Change

Due Thurs Jan 24 at 11:59pm

Overview

In this lab you will write a simple program that acts like a basic cash register, reading in the price of the purchase and the cash provided in order to determine the amount and format of change to give. We will walk you through some of the steps to get started, but the programming will need to come from you!

This lab (and all subsequent labs) will be completed in pairs. Be sure to review the pair programming guidelines.

Objectives

Necessary Files

You will not need any additional files for this lab.

Details

Submitting

Upload the Java file of your CashRegister class to the Lab B folder on the submission folder on hedwig. Make sure you upload your work to the correct folder! The lab is due at midnight on the day of the lab.

Grading

This assignment will be graded on the following criteria: