Search:

Type: Posts; User: Wwong3333

Search: Search took 0.16 seconds.

  1. Creating a low-resolution of the night sky (...help?)

    Greetings everybody =)


    My assignment: create a low resolution image of the night sky using +'s as stars and spaces as the space.
    -have to use a 2 dimensional array
    -can be any type of array...
  2. Re: The infamous palindrome problem, or i heard so.

    bump, nevermind.... it won't work with file types, only with strings
  3. The infamous palindrome problem, or i heard so.

    Hello everybody :) I am a beginner java writer and I have come across a small problem.

    Before I talk about it, let me explain what the actual assignment is.

    ~~~~ASSIGNMENT~~~~
    The file...
  4. Replies
    7
    Views
    1,545

    Re: Trial Division Loop Problem

    Ah sorry, I'm new to using forums.


    // Loop iteration of the 100 numbers
    for(min = 99900; min < max; min++)

    The outer loop works fine. It iterates 100 times from 99900 to 99999....
  5. Replies
    7
    Views
    1,545

    Re: Trial Division Loop Problem

    Ahh! pseudocode. Thanks for the steps you wrote down for me. I wrote an outer loop that runs from 99900 to 99999, and wrote a inner loop to test for primeness. However it goes wrong, and debugging is...
  6. Replies
    7
    Views
    1,545

    Re: Trial Division Loop Problem

    Thanks for the reply!
    I understand the steps you gave me.. but is there a way in java where you can assign a variable a certain range?
    you put m = Min to Max
  7. Replies
    7
    Views
    1,545

    Trial Division Loop Problem

    Hello everybody!

    I've been working on trial division loop problem and I hit a dead end :(

    Before I write about how I attempted to the problem before coming here, I have to show you guys the...
  8. Thread: Loop Problem

    by Wwong3333
    Replies
    4
    Views
    1,327

    [SOLVED] Re: Loop Problem

    YAY!! i figured it out, using if, i could print out the maximum and minimum asset price inputted by the user. But I found a new problem :(. Thing is, I have to make the user input 0 when he/she...
  9. Thread: Loop Problem

    by Wwong3333
    Replies
    4
    Views
    1,327

    [SOLVED] Re: Loop Problem

    ah i'm sorry! i've read some other posts with profanity and thought it was a humorous thing to do, i'll remove it right away. Thanks for the reply, i'll think about what you just said now :)
  10. Thread: Loop Problem

    by Wwong3333
    Replies
    4
    Views
    1,327

    [SOLVED] Loop Problem

    Hey everybody :)

    I've been working on this code for almost half the day yesterday and need some help, and I'm very new to java so please excuse my blunders.

    before i came this forum i,
    -read...
  11. Re: Java Class Excercise (Related to Strings + Cmd Line Arguments)

    I put a image on my thread, and that's my code. I tried putting
    before my code and after my code but the jpg wouldn't show. Thanks for the reply! ^:)^ However, I solved the problem already but i...
  12. Java Class Excercise (Related to Strings + Cmd Line Arguments)

    *******PROBLEM HAS BEEN SOLVED**********


    Hello All!, Nice to meet you I'm Wylie Wong :)

    The day before yesterday, we were assigned a class exercise and i landed on a dead end.

    PROGRAM...
Results 1 to 12 of 12