Search:

Type: Posts; User: PsYNus

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    1,469

    Saving to a text file

    I'm not yet fully up to speed with the logic of how to write to a text file.
    The program that I am trying to write will save a whole list of chars and their ASCII value (value up to 1000). I want...
  2. Replies
    11
    Views
    1,508

    Re: display the generated Math.random number

    i've altered the code (it now gives the numerical value for the asci symbol) :D for example: 90.7456468755941 is the numerical value for: . So i'm gonna find a method that will round the number down...
  3. Replies
    11
    Views
    1,508

    Re: display the generated Math.random number

    oh i think i see now how the math.random can work. it will generate a random number between 0 (including) and 0.999 recuring (including) and you have to times that by 100 to get a whole number. is...
  4. Replies
    11
    Views
    1,508

    Re: display the generated Math.random number

    is there a way i could download the API? i dont have an internet connection at home :<
  5. Replies
    11
    Views
    1,508

    Re: display the generated Math.random number

    Still kind of new with java so i thought i'd throw that loop in there to see what it would do. should i not do that? so that math.random line will only return a value between 0 and 0.999 recuring?
  6. Replies
    11
    Views
    1,508

    Re: display the generated Math.random number

    Oh sorry :) i was wondering if there is some code that i can add to the program that will return that randomly generated number from the Math.random
  7. Replies
    11
    Views
    1,508

    display the generated Math.random number

    I've been playing around with some coding and asci values. My program below will return an asci value generated by the Math.random method. Is there another method that i may use to display that value...
  8. Replies
    3
    Views
    3,802

    Re: Displaying increments of 0.5

    so the for loop will need to be for (double i=0;i<=25;i++)? :)
  9. Replies
    3
    Views
    3,802

    Displaying increments of 0.5

    I started learning Java about a week ago and I'm doing some loops now :) I wrote a class that counts up to 25 and displays the numbers. I changed a few things here and there to see what would happen...
  10. Replies
    1
    Views
    1,020

    New to the Forum :)

    hello people, i'm new to this forum so I thought i would post here.
    I would like to get some java programming under my belt as a hobby. I worked on java from grade 10-12 (matriculated last year)...
Results 1 to 10 of 10