If this is your product, you can request to edit it here.
Version Reviewing: data
"good"
Summary:
Good survice quick and easy
Version Reviewing: 1.6.1
"database that completely embraces the web"
Summary:
open source database software that focuses on ease of use and having an architecture.
Version Reviewing: 1.6.1
"database that completely embraces the web"
Summary:
Store your data with JSON documents. Access your documents and query your indexes,Store your data with JSON documents. Access your documents and query your indexes
Version Reviewing: 1.6.1
"database for the web"
Summary:
web browser,via HTTP,plus you have real-time change notifications so you can keep track of your web development. All of this comes with an easy-to-use interface on the admin side
|
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