You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize the exercise is more with the practice of coding than any actual computational geometry, but thought I might as well point this out. In Shape_Inheritance.scala and Shape_TypeClass.scala, you're using the circumference formula for a circle, not the area formula (Pi * radius * radius).
Just a heads up.
The text was updated successfully, but these errors were encountered:
I realize the exercise is more with the practice of coding than any actual computational geometry, but thought I might as well point this out. In
Shape_Inheritance.scala
andShape_TypeClass.scala
, you're using the circumference formula for a circle, not the area formula (Pi * radius * radius
).Just a heads up.
The text was updated successfully, but these errors were encountered: