Drawing Pixels:
-
For (100 times) a. X = randNumb(); b. Y = randNumb(); c. Draw Pixel(x,y); Here, randNumb() should generate a random floating point number between -1 and 1
-
Create a txt file "coordinates.txt" a. populate the file with 20 points between -1 and 1 For (EOF) X = readNextValue(); Y = readNextValue(); DrawPixel(x,y);