Write a program that draws 20000 points in random locations


Question: 1. Write a program that draws 20,000 points in random locations within the visible area. Make the points on the left half of the panel appear in red and the points on the right half of the panel appear in green. Draw each point by drawing a line with a length of only one pixel.

2. Write a program that draws 5 rectangles of random size in random locations. Fill the one with largest area in green.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that draws 20000 points in random locations
Reference No:- TGS02318652

Expected delivery within 24 Hours