GoalGiven an input integer N, you must output 1/N in decimal form, with brackets () around any part of the fraction that repeats indefinitely.
4 → 0.25
7 → 0.(142857)
A single line containing an integer N
A single line containing the recurring simplified decimal of 1/N
1 < N < 2^31
A higher resolution is required to access the IDE