Defect Description:
Decimal value insertion not supported in insertion, instead it simply takes the integer value. The simulation should either detect a decimal value and display an error, or should support decimal value insertion.
Steps to reproduce the issue:
Open the search trees simulation.
Insert a decimal value.
Expected result:
Decimal value insertion should be supported.
Actual result:
Integer value of the decimal value is taken.
Defect Description: Decimal value insertion not supported in insertion, instead it simply takes the integer value. The simulation should either detect a decimal value and display an error, or should support decimal value insertion.
Steps to reproduce the issue: Open the search trees simulation. Insert a decimal value.
Expected result: Decimal value insertion should be supported.
Actual result: Integer value of the decimal value is taken.