Search:

Type: Posts; User: Williamscn

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    881

    Absolute values

    Hello Everyone,

    I am having a problem with my homework. They are asking for a method call that takes the large of two absolute values.

    Write a method called largerAbsVal that takes two integers...
  2. Replies
    10
    Views
    1,909

    Re: Displaying an hourglass 2

    jGRASP
  3. Replies
    10
    Views
    1,909

    Re: Displaying an hourglass 2

    yeah I have tried moving adding and deleting {} and I can not get it to work. I don's understand this simple process of {}. I know it is used to group together related bits of code. I open and closed...
  4. Replies
    10
    Views
    1,909

    Re: Displaying an hourglass 2

    Ok that worked. I had one too many } brackets above it.

    Thanks

    --- Update ---

    Well,

    Once I fix the bracket issue for my Bottom Half method. I tried to finish the code by adding the top...
  5. Replies
    10
    Views
    1,909

    Hour Glass

    Hello Everyone,

    I am trying to print out an Hour Glass figure using CONSTANTS so that I can change sizes from 4 to 10. The problem I am having is that I am getting a error message for my method...
  6. Replies
    10
    Views
    1,909

    Displaying an hourglass 2

    Hello,

    I am working on the same code to produce the Hour Glass figure.

    My code is a little bit different because I am using a CONSTANT to change the size of the Hour Glass. I have my CONSTANT...
  7. Replies
    1
    Views
    1,031

    Using Constants

    Hello Everyone,

    I am having a problem with my code when deal with constants.
    My problem has to be solved using only two public static final constants.
    The question ask to use 6 as the number of...
  8. Replies
    3
    Views
    1,945

    [SOLVED] Re: Wave Numbers

    No I was looking at the spacing. My code had to much of a gap in it. So I what I did to fix this was to put a ("_-^-") on my System.out. print("-^-"). That fix my gap.
  9. Replies
    3
    Views
    1,945

    [SOLVED] Wave Numbers

    Hello Every one,

    I need some help with my code. I need an output that looks something like this
    ----------------------------------------
    _-^-_-^-_-^-_-^-_-^-_-^-_-^-_-^-_-^-_-^-...
  10. Replies
    3
    Views
    832

    Re: For Loop for Fibonacci code

    Thanks Hamenopi,

    Changing B to =0 worked.
  11. Replies
    3
    Views
    832

    For Loop for Fibonacci code

    Hello Everyone,

    I need to write a For Loop that prints out the first 12 Fibonacci numbers:
    1 1 2 3 5 8 13 21 34 55 89 144.

    The problem I am having is that I can not get the first two 1...
  12. Re: basic java problem concerning order of operations

    Ok I find my mistake it was a simple matter of having the decimal place in the wrong place. I should have had 0.5 instead of .05.

    Thank you everyone for your help.
  13. Replies
    3
    Views
    986

    Line Spacing

    Hello Everyone,

    I am having a problem understanding line spacing. I need to write a program that has nested FOR LOOPS to produce the following output:
    1
    2
    3
    4
    5
    I can get a for...
  14. Re: basic java problem concerning order of operations

    I posted the values of each variable in the upper part of the code. What I am trying to do is write a math formula that solves for S.

    s=so + vo t + 1/2 at^2

    So I wrote my code in this format...
  15. Re: basic java problem concerning order of operations

    Thank KevinWorkman,

    I edit my code to make it more readable. Although I could not find the ability of using highlight tags. I hope this helps.
  16. basic java problem concerning order of operations

    Hello Everyone,

    I am new to Java programming and I am having a small problem with a java program concerning order of operations. The problem is as follow

    Write a code that declares variables...
Results 1 to 16 of 16