Back to category: Technology

Limited version - please login or register to view the entire paper.

Program Report

This program was created by first writing 4 methods; the 3 required methods (getGrowth, getDays, getHeight) and a method for printing the menu. With this as the basis, the program was enhanced by adding other necessary lines of code in an ordered manner. Related lines of code were grouped into new methods. Then the main program was completed so that it would run continuously until the user quit. The methods were called at the relevant places and other necessary code such as code for error checking was added to complete the program and to allow it to function properly. Due to the structured writing of the code only one minor difficulty was encountered in the process of constructing this program. This was, allowing the user to enter their choice and having to accept it in both uppercase and lowercase letters. Doing this in a switch-ca...

Posted by: Melissa T. Littlefield

Limited version - please login or register to view the entire paper.