Skip to content

Conversation

@UHFUEHFUHF
Copy link

solved the errors

i have solved the errors
Changes Made:
✅ Fixed the subtract() function, which previously used addition instead of subtraction.
✅ Corrected the formula in convert_fahrenheit_to_celsius() by using 5/9 instead of 9/5.

Reason for Changes
The subtract() function had incorrect logic (a + b instead of a - b).
The convert_fahrenheit_to_celsius() function applied the wrong conversion factor.
Impact of Fixes:
Ensures correct mathematical operations in the project.
Fixes incorrect temperature conversion calculations.
All the test passed succesfully thanks for giving me a chance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant