Search:

Type: Posts; User: yuli

Search: Search took 0.23 seconds.

  1. Thread: nested for loop

    by yuli
    Replies
    6
    Views
    288

    Re: nested for loop

    ohh ok ill try it like that thank you ..I will see if it works
  2. Thread: nested for loop

    by yuli
    Replies
    6
    Views
    288

    Re: nested for loop

    I get what you are saying


    for(number =1; number <= 9; number++)


    the thing I don't get is the actual spacing and the numbers
  3. Thread: nested for loop

    by yuli
    Replies
    6
    Views
    288

    Re: nested for loop

    I know how to use for loops but I don't know how to get it to do it the times equal to its square
  4. Thread: nested for loop

    by yuli
    Replies
    6
    Views
    288

    nested for loop

    Using nested for loops, write a program that will print the numerals 1 through 9 a number of times equal to its square. 1 will print one time (1^2), 2 will print 4 times (2^2), 3 will print 9 times...
  5. Replies
    18
    Views
    412

    Re: phone number generator

    /*juliana Vargas
    programing
    10/29/2013
    */
    import java.util.Random;
    public class RandomPhoneNumber
    {
    public static void main (String[]args)
    {Random generator = new Random();
  6. Replies
    18
    Views
    412

    Re: phone number generator

    ohhh I see what you meant hopefully now its better
  7. Replies
    18
    Views
    412

    Re: phone number generator

    /*juliana Vargas
    programing
    10/29/2013
    */
    import java.util.Random;
    public class RandomPhoneNumber
    {
    public static void main (String[]args)
    {Random generator = new...
  8. Replies
    18
    Views
    412

    Re: phone number generator

    how what you mean sorry?.. how?
  9. Replies
    1
    Views
    196

    phone number generator1

    /*juliana Vargas
    programing
    10/29/2013
    */
    import java.util.Random;
    public class RandomPhoneNumber
    {
    public static void main (String[]args)
    {Random generator = new...
  10. Replies
    18
    Views
    412

    Re: phone number generator

    this is the new one I made but at the end it wont give me the last four numbers and I cant input the amount of phone numbers

    --- Update ---

    /*juliana Vargas
    programing
    10/29/2013
    */
    import...
  11. Replies
    18
    Views
    412

    Re: phone number generator

    I can't tell because my jcreator doesn't run... I don't know why... thank you very much for your help... I will work on it more tomorrow if it works I would be please to thank you.. have a great...
  12. Replies
    18
    Views
    412

    Re: phone number generator

    sorry didn't see it
  13. Replies
    18
    Views
    412

    Re: phone number generator

    /*juliana Vargas
    programing
    10/29/2013
    */
    import java.util.Random;
    public class RandomPhoneNumber
    {
    public static void main (String[]args)
    {Random generator = new...
  14. Replies
    18
    Views
    412

    Re: phone number generator

    Create a new java file named RandomPhoneNumber.java

    Using Math.random(), write a program that creates and outputs random phone numbers of the form (xxx) xxx-xxxx. Include the parentheses and...
  15. Replies
    18
    Views
    412

    phone number generator

    import java.util.Random;
    public class RandomPhoneNumber
    {
    public static void main (String[]args)
    {Random generator = new Random();


    /*write down the RandomNumber...
Results 1 to 15 of 15