Basic HTML version of Foils prepared June 5 99

Foil 20 Histogram Lab

From Java Language in the Computer Science Curriculum ADMI Tutorial Duluth Minnesota -- June 3 99. by Geoffrey C. Fox


The lecture material introduces arrays and more on Graphics fonts and colors. The example program uses random numbers to simulate throwing a die and records each "face" in a histogram array. Students extend this example with sums of dice.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Jun 5 1999