Hamdan-Maharoof / Test8_infs3203

Repository used in INFS3203 course
0 stars 0 forks source link

The power function in the calculator is producing an error #5

Open Hamdan-Maharoof opened 7 months ago

Hamdan-Maharoof commented 7 months ago

Steps to Reproduce

  1. Run the provided calculator program.
  2. Choose the operator "power"
  3. Enter two numbers to get the power

Expected result When two numbers are entered by the user, the program will print the first number to the power of the second number.

Actual result The programs fails to run because of the invalid operator.

Screenshot 2024-02-07 120257

Hamdan-Maharoof commented 7 months ago

Fixed the power function error like a boss

Hamdan-Maharoof commented 7 months ago

Awesome!!