Course Solutions Uncategorized (Solved) : 2 25 Pts Flu Virus Simulation Discussed Class Suppose Canvas 600 Pixels Wide 400 Pixels Hi Q28128104 . . . .

(Solved) : 2 25 Pts Flu Virus Simulation Discussed Class Suppose Canvas 600 Pixels Wide 400 Pixels Hi Q28128104 . . . .

 

Please answer all parts of 2 and 3
2. (2.5 pts) In our flu virus simulation discussed in class, suppose that our canvas is 600 pixels wide and 400 pixels high, but we still want to display the same 400 people as rectangles in 20 rows with 20 columns. (a) What is the size of each rectangle in pixels? pixels wide by pixels high (b) Write the drawing command in the simulation so that it draws each rectangle in its correct place on the canvas. Remember that this code is in a set of nested loops with loop variables 

<div class=

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post