1. #42701

  2. #42702
    Fluffy Kitten Dyra's Avatar
    10+ Year Old Account
    Join Date
    Oct 2009
    Location
    Fording the Ox
    Posts
    1,641
    +19

    *is still galloping*

    PROCRASTINATION FTW!!!

    A reader lives a thousand lives before he dies. The man who never reads lives only one.

  3. #42703
    Deleted
    + 17

  4. #42704
    Deleted
    +18

    Wazzap y'all!

  5. #42705
    Warchief Wass's Avatar
    10+ Year Old Account
    Join Date
    Jan 2011
    Location
    PvP forums
    Posts
    2,239
    + 19

    Starcraft and Math, Joy. Two of my signatures things.

    *Gallops around with Doochess*
    Quote Originally Posted by Dyra View Post
    Because what they are atm are plait tugging, sniffing, glaring, prissy, clothes obsessed bitches who I would quite cheerfully drown.
    I often post from my mobile device, typos in my posts are 99% likely to be because of that.
    All I would ever want and need is a hug.

  6. #42706

  7. #42707
    Deleted
    Quote Originally Posted by Wass View Post
    Starcraft and Math, Joy. Two of my signatures things.

    *Gallops around with Doochess*
    Interesting.....


  8. #42708
    Deleted
    + 18

  9. #42709

  10. #42710
    Fluffy Kitten Dyra's Avatar
    10+ Year Old Account
    Join Date
    Oct 2009
    Location
    Fording the Ox
    Posts
    1,641
    +14

    YAY! Fellow procrastinators!!!

    *picks up the speed of her galloping*

    A reader lives a thousand lives before he dies. The man who never reads lives only one.

  11. #42711

  12. #42712
    I am Murloc! Anakso's Avatar
    10+ Year Old Account
    Join Date
    Apr 2010
    Location
    Perth, Australia
    Posts
    5,020
    + 13

    I hate questions like this.

    Got to last part of writing this program, now I have to write code to figure out if a number is prime or not. How I do dis!

    Wasbro you're good at math, simple way of finding out if a number is prime short of trying to divide it with every number?

    - - - Updated - - -

    Think I figured out a way but I need to find out how to write a for loop in Java.

  13. #42713
    Deleted
    + 11

  14. #42714
    I am Murloc! Anakso's Avatar
    10+ Year Old Account
    Join Date
    Apr 2010
    Location
    Perth, Australia
    Posts
    5,020
    Well never mind again, I already have a for loop in this program and apparently its pretty much identical to C anyway.

    - - - Updated - - -

    Quote Originally Posted by Hastings View Post
    Anakso, I think you have to do a loop and divide the number you're testing by all possibly numbers

    For(int j = 0; j <=(the number); j++){
    And probably need an if statement here.
    And some code hehe.
    }
    Yea googled it and found C code for it Seems Java is very similar too heh.

  15. #42715
    Divide by all possible numbers? Is going to take so long to calculate is 1235123869224 is a prime then :/
    + 12

  16. #42716
    Fluffy Kitten Dyra's Avatar
    10+ Year Old Account
    Join Date
    Oct 2009
    Location
    Fording the Ox
    Posts
    1,641
    Quote Originally Posted by Asmekiel View Post
    Divide by all possible numbers? Is going to take so long to calculate is 1235123869224 is a prime then :/
    That's divisible by 2, ergo not prime.

    ^_^

    *gallops some more*

    +10

    A reader lives a thousand lives before he dies. The man who never reads lives only one.

  17. #42717
    Deleted
    + 8

  18. #42718
    I am Murloc! Anakso's Avatar
    10+ Year Old Account
    Join Date
    Apr 2010
    Location
    Perth, Australia
    Posts
    5,020
    Awesome got it working

    - - - Updated - - -

    Quote Originally Posted by Asmekiel View Post
    Divide by all possible numbers? Is going to take so long to calculate is 1235123869224 is a prime then :/
    + 12
    Luckily computers can do stuff faster than us

    What is VBA Don't think I have heard of it!

  19. #42719
    Quote Originally Posted by Dyra View Post
    That's divisible by 2, ergo not prime.
    Well, you get the point

    + 9

  20. #42720
    Fluffy Kitten Dyra's Avatar
    10+ Year Old Account
    Join Date
    Oct 2009
    Location
    Fording the Ox
    Posts
    1,641
    GJ Ana-ssi! <3

    +7

    *gallops around the sofa*

    A reader lives a thousand lives before he dies. The man who never reads lives only one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •