add variables  height, width, totalArea and defines the values as imput