Search:

Type: Posts; User: HeroFlame

Search: Search took 1.04 seconds.

  1. Replies
    1
    Views
    410

    Turtle Graphics - Help!!

    So basically I've been given an assignment, which is the following:
    [QUOTE]
    Complete Option 1 or Option 2 below. Either option must include at least three of each of the following:

    drawSquare
    ...
  2. Replies
    3
    Views
    667

    Re: Method to print n x n box

    4 throughout.
  3. Replies
    3
    Views
    667

    Method to print n x n box

    Stuck on this, need to create a method that prints n x n box:



    ****
    * *
    * *
    ****
  4. Replies
    8
    Views
    675

    Re: Some basic for loops I'm stuck on.

    a = 1;
    int b = 1;
    for (int i = 1; i <= n; i++) //come back to this later
    {
    System.out.print(a + " ");
  5. Replies
    8
    Views
    675

    Re: Some basic for loops I'm stuck on.

    I'd post my code, but unfortunately I'm at school and can't access the necessary files for BlueJ on the school server. Thanks anyways.
  6. Replies
    8
    Views
    675

    Re: Some basic for loops I'm stuck on.

    That really doesn't help me. I realize what I'm supposed to do, but I can't figure out how to do it.
  7. Replies
    8
    Views
    675

    Re: Some basic for loops I'm stuck on.

    I'm aware of the sequence for some, not all.
    I'd post the code I have if I was at school at the moment.
  8. Replies
    8
    Views
    675

    Some basic for loops I'm stuck on.

    Sequences for n = 5:


    1 2 6 12 20


    1 2 6 24 120


    1 4 9 16 25
  9. Replies
    3
    Views
    264

    Re: Help please!!

    No one can help me?? PLEASE!
  10. Replies
    3
    Views
    264

    Help please!!

    I have to "write a Java expression to compute 10 base 2".
    I am totally lost, and I'm also new to Java so please keep the hate to a minimum /:

    Thanks!
  11. Replies
    1
    Views
    257

    [HELP] TriangleClassification

    create a method, distance, which takes, as parameters, the coordinates of two points ((x1, y1), (x2, y2)) as real numbers, and returns the distance between these points, using the distance forumula....
  12. Replies
    6
    Views
    229

    Re: Simple Java Program - hasTeen [HELP]

    Thanks so much!!
  13. Replies
    6
    Views
    229

    Re: Simple Java Program - hasTeen [HELP]

    Yes, they now return true, but when I input 3 numbers that aren't "teen", like (1, 4, 3), it still comes out as true, when it should be false as none of those numbers are "teen".
    Error:...
  14. Replies
    6
    Views
    229

    Simple Java Program - hasTeen [HELP]

    I am trying to create a program that does the following:
    "We'll say that a number is "teen" if it is in the range 13..19 inclusive. Given 3 int values, return true if 1 or more is teen.

    My code:...
Results 1 to 14 of 14