Hamdan-Maharoof / Test8_infs3203

Repository used in INFS3203 course
0 stars 0 forks source link

The subtraction operation in the Calculator class is performing addition. #4

Open mazinthaj opened 7 months ago

mazinthaj commented 7 months ago

Steps to Reproduce

  1. Run the provided calculator program.
  2. Choose the operation "subtraction ."
  3. Enter two numbers to calculate the result.

Expected Result When selecting the subtraction operation, the program should calculate the result of subtracting the first number and second number.

Actual Result The subtract method is doing add operation.

image

Git-Kar33 commented 7 months ago

The issue got solved as the subtraction operation works perfectly fine.