Question: 1. Boolean Expression a. Type the code. b. Fix the bugs c. Submit both codes in D2L. void setup() { size (640,360); } void draw
1. Boolean Expression a. Type the code. b. Fix the bugs c. Submit both codes in D2L. void setup() \{ size (640,360); \} void draw () \{ background ( ); if (mousex> 100) \{ fill (255,0,0); rect (300,100,50,50); \} else if (mousex> 2po) \{ fill (,255,0); rect (300,100,50,50); \} stroke(255) ; line (100,0,100, height); line (200,0,200, height); \}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
