If this is your product, you can request to edit it here.
Version Reviewing: good
"qualified online tool"
Summary:
this tool is popular tool into the internet market.
"So darn pretty"
Summary:
I love using D3! It can be hard to use, but you get so much flexibility to create beautiful data :) I want to get into data visualization BECAUSE of D3.
Version Reviewing: 5.1
"Design beautiful SVGs using JavaScript"
Summary:
D3 is a JavaScript library for designing beautiful SVGs from a number of data sources. It allows developers to create, animate, and manipulate data in a meaningful way that will work on almost any browser. D3 is a widely supported open source tool that has many examples and online support from fellow developers.
|
What does this code do?
static void mysteryFunction(int nr, int dr) { if (dr == 0 || nr == 0) { return; } if (dr % nr == 0) { System.out.print("1/" + dr / nr); return; } if (nr % dr == 0) { System.out.print(nr / dr); return; } if (nr > dr) { System.out.print(nr / dr + " + "); mysteryFunction(nr % dr, dr); return; } int n = dr / nr + 1; System.out.print("1/" + n + " + "); mysteryFunction(nr * n - dr, dr * n); } // Driver Code public static void main(String[] args) { int nr = 6, dr = 14; System.out.print("Fraction Representation of " + nr + "/" + dr + " is\n "); mysteryFunction(nr, dr); } }
Programming Language: Java