
I'm surprised this hasn't been done before. If it has, (a) Sorry. (b) It's a good thing to re-ignite the game!
Input:
a/b
Output:
c/d
where c/d is the reduced form of a/b
Rules
Must be a full program, not just a function.
Shortest answer in bytes wins.
Whole number results may include t...