CMIS 141
Homework Due: 26 April
Write a program similar to the RandomNetworks applet that generates
random points and random connections between them (in other words,
random networks).
The RandomNetworks applet is at:
http://sensei.ad.umuc.edu/dwills/cmis141/RandomNetworks.html
Run it until you understand what it does.
Generate a user-specified number of random points. Use two int
arrays to hold the X and Y coordinates of the points.
Display the points as small squares or ovals and make a connection
between a point and another if the Math.random() value is less than
the percentage connection value. The percent connectivity means the
probability that a point will be connected to another point.