DISCLAIMER! We will keep the procedural style of the original C++ program, which is not how you are supposed to program in Java! So a few weeks from now, you would do this in a totally different way. You would write it in an object-oriented style, which is what we are supposed to be doing in Java.