Got my Java to look better

I had a bit of an epiphany this morning — and I have a project that is a bit better.

My java project now has four files, only two that the students have to touch.  Originally, to do the 1980’s console type program, I had two files that the students touched.  The driver and the class.

So here is the output:

I have a main program with the lab name (students don’t have to touch):

A really ugly program that does the output (students don’t have to touch)

 

And then the two lab programs:

 

The driver with the test cases:

 

And the actual class:

We’ll have to discuss HTML etc as we go along, but learning HTML never killed anyone.

Here’s the actual files (note that the lab itself is from Stacy Armstrong’s APlus Materials.  lab02a