about | help | code help+videos | done | prefs |
Write a method that has a string input parameter. This input parameter represents a positive fraction. Return a string that represents this fraction in reduced form. reduce("3/600") → "1/200" reduce("7/3") → "7/3" reduce("5/18") → "5/18" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 440
Copyright Nick Parlante 2017 - privacy