Bunnie.net Java Packages: Net.Bunnie.DOS

Class Name Class Description
ForLab This class was written on July 24th, 2003. It uses the following methods:
main (String[] args) - Calculate Squares and Cubes, Dive Scores, or Concatenate numbers, or all, a do...while() loop and a switch.
FormatDecimalsExample This class was written on July 15th, 2003. It uses the following methods:
main (String[] args) - Format numbers as #.## (7.927 becomes 7.93, 7.99999999 becomes 8)
GetChange This class was written on July 14th, 2003. It uses the following methods:
main (String[] args) - Make change for the inputed an amount of money
GetChangeGUI,
JCloseListener

(screenshot)
This class was written on July 14th, 2003. It extends JFrame and implements ActionListener. JCloseListener extends WindowAdapter. It uses the following methods:
GetChangeGUI() - the GUI
getThatChange() - make change
actionPerformed (ActionEvent e) - get change if button is pressed main (String[] args) - set size and open window

windowClosing (WindowEvent ev) - close the window
HelloWorld This class was probably written on July 9th, 2003. It uses the following methods:
main (String[] args) - Print out Hello World in an array and then turn it into a char array and print it out again. Obviously my class did a simple System.out.println() and I was bored. Hehe.
IfLab This class was written on July 21st, 2003. It uses the following methods:
main (String[] args) - Buy eggs, Calculate salary at Arturo's Deli, Determine triangles, or Calculate salary at The Rocky J. Squirrel Acorn Company. Same as ForLab - do...while() and switch.
IfLabTwo This class was written on July 22nd, 2003. It uses the following methods:
main (String[] args) - Order from Sam and Ella's Delicatessen, Calculate steam engine efficiency, or Calculate heating time. do...while() and switch. I never actually finished this, in truth I left it in mid line and so I finished up the section that I was working on before writing this but I never did the last exercise (see comment at top).
IfStatements This class was written on July 17th, 2003. It uses the following methods:
main (String[] args) - Calulate your discount or how much it will cost to buy bolts. Get out of the loop by not entering 0, 1, or 2.
MathVariables
(screenshot)
This class was written on July 15th, 2003. It uses the following methods:
main (String[] args) - Convert a temperature from F to C, Calculate the time it will take for you to get to school, Calculate energy using E=MC^2, or Calculate how long you have slept in your life.
Money This class was written on July 30th, 2003. It uses the following methods:
main (String[] args) - An extremely commented and try-catch'd program that kept track of how much money I spent at Exeter. Requires the Money.txt file to be in existence and writable. I think I doubled the length of the file with my comments and try-catch's. I think if Microsoft bothered to try-catch their programs then IE would not crash as much.
Multiply This class was written on July 24th, 2003. It uses the following methods:
main (String[] args) - Enter a number; Multiplies all numbers up to and including by 2 and makes a pretty table.
MultiplyTable This class was written on July 25th, 2003. It uses the following methods:
main (String[] args) - Enter upper and lower boundaries and get a table of each number within the bounds multiplied by each other.
RandomN This class was written on August 3rd, 2003. It uses the following methods:
main (String[] args) - Guess a number between 1 and 100, it tells you if you are too high or low.
RandomNTwo This class was written on August 4th, 2003. It uses the following methods:
main (String[] args) - Play craps
ShortEg This class was written on July 25th, 2003. It uses the following methods:
main (String[] args) - Fun printing out different types of variables. No real point. But then when do any of these other programs find use? *cough*
SortPi This class was written on February 14th, 2004. It uses the following methods:
main (String[] args) - See how long it takes to sort the first 50,000 digits of Pi using bubble, selection and insertion sort.
StringMethods This class was written on July 28th, 2003. It uses the following methods:
main (String[] args) - Fun with strings - uc, lc, backwards, with one space in between letters and two in between words, input a character and it tells you if it is present, and count words.
StringMethodsTwo This class was written on July 28th, 2003. It uses the following methods:
main (String[] args) - Check if input is palindrome; change Last, First to First Last. This should really be listed under StringMethodsThree but I figure this is more logical than alphabetical order.
StringMethodsThree This class was written on July 30th, 2003. It uses the following methods:
main (String[] args) - Check if input is valid SS number - ###-##-####; Check is pin is valid in form ###LL# where the last digit is the sum of the first three.
Strings This class was written on July 23rd, 2003. It uses the following methods:
main (String[] args) - Print out series of numbers; print out a name repeating itself once more each subsequent line (ie Lesley LesleyLesley...); print out a dot for each letter in a name; print out numbers appending themselves for each subsequent line (ie 1 12 123 1234...). Commented password program.
WhileOne This class was written on July 31st, 2003. It uses the following methods:
main (String[] args) - Print out each number .5 less than the input until it is negative; numbers divisible by 5 or 7 under 100 and how many there are; calculate shipping cost of package based on weight.
WhileTwo This class was written on July 31st, 2003. It uses the following methods:
main (String[] args) - Count up how many positive and negative numbers the user enters; deficient, perfect and abundant numbers; GCD; Fibonacci numbers; recursive multiplying organisms (usually the problem is bunnies, my teacher says organisms... Then again she is the world's biggest Harry Potter fan... -.-;;)

Java