Question
Asked by:
nickc999
nickc999
Rating : No Rating
Questions Asked: 3
Tutorials Posted: 0
 

$5.00 insert 25 random int into a link list object

Q:
Write a program that inserts 25 random integers from 0 to 100 in order into a linked-list object. The program should calculate the sum of the elements and the floating-point average of the elements
 


   
   
   
   
 
Available Tutorials to this Question
Posted by:
Sarwar
Sarwar
Rating (5): A+
Questions Asked: 0
Tutorials Posted: 14, earned $33.34
 

$5.00 Java Code for 25 Random values in a Linked List. Message me if any clarification required

  • This tutorial was purchased 2 times and hasn't been rated yet.
  • Posted on Nov 17, 2008 at 08:36:10PM
A:
Preview: ... l.add(new Integer(a));<br> System.out.print(a+" ");<br> }<br> float avg=(float)sum/25;<br> ...

The full tutorial is about 18 words long .
   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty