Code Sketch


parrayrose area of rect
By: chinar
clear()
setFillColor(blue)
repeat(2){
    forward(100)
    right()
    forward(160)
    right
}
hop(20)
setFillColor(white)
right()
hop(30)
left()
setFillColor(white)
repeat(2){
    forward(60)
    right()
    forward(100)
    right()
}

val first:Int=100*160
val second:Int=60*100
val third:Int=first-second
setPosition(0,-25)
write(" area of second rec is " +second)
setPosition(0,-50)
write("area of second rec is "+second)