Modify a text file: $/S1.java
$/S1.java
//Nnikia Phillips Q1 Test int bugX , bugY; int ball= 3; float personX, personY; void setup() { size (600,800); bugX = width/1; bugY=100; } void draw() { //scene background(31,190,214); //sky fill(153); rect(000,400,600,400); //sidewalk fill(244,232,104); ellipse(bugX,bugY,40,40); //sun fill(102,0,153); rect(50,250,100,150); triangle(50,250,150,250,100,200); //show fill(0); rect(personX,personY,60,80); //person ellipse(personX,personY,60,60); personX= personX+ ball; if (personX + 10>width); //NEED TO FIX ball= -3; //action bugX=bugX + ball; if(bugX + 20 > width){ ball = -3; } }