robot 1.1

function setup() {
  createCanvas(400, 400);
}

function draw() {
  background(255,255,255);
//rect
  fill ('#C0C0C0')
  stroke(0)
  strokeWeight(2)
rect(20, 50, 70, 70)
 rect(20, 50, 110, 10)
//ellipse
  fill('#00FF00')
  stroke(0)
  strokeWeight(2)
 ellipse(40, 70, 10, 10)
 ellipse(70, 70, 10, 10)
//rect
  fill('yellow')
  stroke(0)
  strokeWeight(2)
 rect(40, 90, 30, 10) 
}