Search:

Type: Posts; User: Macgrubber

Search: Search took 0.08 seconds.

  1. Replies
    2
    Views
    1,380

    Re: about printf please help having errors

    oh thanks its working now...
    so all i needed to do is get rid of the +" "; after the array
    thank you and yeah thanks again for the advice ill be more careful next time with my practices..

    and...
  2. Replies
    2
    Views
    1,380

    about printf please help having errors

    System.out.print("\nList 2 : ");
    for (i = 0 ; i<list.length ; i++){
    list2 [i] =(int)(99*Math.random()+1);
    System.out.printf("\n%2d",list2[i] + " ");
    }

    i want to display random nos. with a...
Results 1 to 2 of 2