Decimal and negative values in logicaloperator.cpp

  1. I do not get an output when giving input as -10

  2. I wanted to modify the code to give output for decimal values so I changed int to float but it didn’t work

I can’t seem to find the problem