My Original program was to.......
Write a Java applet that uses recursion to draw a Koch snowflake fractal
of any given order. A Koch snowflake of order 0 is an equilateral
triangle. To create the next-higher-order fractal, each line segment in
the shape is modified by replacing the middle third with a sharp
protrusion made of two line segments, each having the same length as the
replaced one.........
User Profile
Collapse
-
Recursion Program Help!?!
-
Java measurement program
I need some help with a Measurement Program I Wrote.....I have this code as the main workings of my program:
...Code:import java.util.*; public class Measurement{ { static Scanner console = new Scanner(System.in) public static void main(String[] args); double feet, inches, feetTotal, inchTotal, centTotal; boolean done; String str; ConvExc checkForZero = new ConvExc();Last edited by Frinavale; Dec 17 '09, 09:38 PM. Reason: Please post code in [code]...[/code] tags. Added code tags. -
i've looked around at the GregorianCalend ar and still have no clue what i'm doing hah... -
I understand the concept you're telling me, and i've already begun to write the new program....i have:
Set the Month
-Set the Day
-Set the Year
-Return the Month
-Return the Day
-Return the Year
-Test whether the year is a leap year
all finished....Now i don't really have any idea where to start writing the code for:
-Return the number of days...Leave a comment:
-
-
I need some help with a date program can anyone help?
Ok so I am messing around with a program and have no idea how to go about doing this but here is the code for the class date....
...Code:public class Date { private int dMonth; private int dDay; private in dYear; public Date() { dMonth = 1; dDay = 1 ; dYear = 1900; } public Date(int month, int day, int year) { dMonth = month;
No activity results to display
Show More
Leave a comment: