about | help | code help+videos | done | prefs |
Write a method that returns the sum (in reduced fraction form) of the two fraction input parameters (where "fraction" is a string as described in the reduce problem). You might want to copy and paste the reduce method into your code as a helper method. add("1/2", "1/4") → "3/4" add("7/10", "1/5") → "9/10" add("7/23", "5/17") → "234/391" ...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