TheOdinProject / ruby-exercises

MIT License
231 stars 1.11k forks source link

Subtraction exercise in 1_data_types is incorrect #22

Closed subotai54 closed 3 years ago

subotai54 commented 3 years ago

This passes the check:

def subtract(a, b) /# return the result of subtracting a from b a-b end

However, "subtracting a from b" means b-a. The comment and the code checker are opposite each other.

rlmoser99 commented 3 years ago

@subotai54 Thank you for taking the time to submit this issue for this exercise.