P
Prateek Agarwal
I don't understand what is wrong with this program. It gives an error:
'findarea' undefined local variable or method 'area_of_triangle'
Both 'findarea' and 'area_of_triangle' are clearly defined.
Attachments:
http://www.ruby-forum.com/attachment/3933/Q3a1.rb
'findarea' undefined local variable or method 'area_of_triangle'
Both 'findarea' and 'area_of_triangle' are clearly defined.
Attachments:
http://www.ruby-forum.com/attachment/3933/Q3a1.rb