Code Sketch


kousar Rectangle kojo.kojo
By: chinar
clear()
setFillColor(blue)
repeat(2){
    forward(100)
    right()
    forward(160)
    right()
}
hop(20)
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 first Rectangle is" +first)
setPosition(0,-50)
write("area of second Rectangle is" +second)