Read & Write Reviews About The Tools You Use.
Sign up for free to start sharing your opinion today!

Urban Code


Company: IBM

Average User Rating (1 reviews)

If this is your product, you can request to edit it here.


User Reviews
Share:


    "Great Automation"

    by rayofstafford on Jun 12, 2022 9:53 PM

    Summary:
    Urbancode is fast, reliable, and efficient. We've been able to repeatedly meet implementations deadlines of 10 to 15 minutes. This is an intuitive implementation platform and with the variety of add-ons, makes for great automations. Support takes a while to respond, but overall a great product.

    Report post

    Was this review helpful? (0) (0)

    add a comment


Write a Review


Must be registered to add and review tools.

Have an account?
  
  
Forgot Password?

New to DevMetric?


Write Reviews

Share your opinion about the tools you use.

Join the Evans Data Developer Panel!

As a DevNet panelist you will:

1. Have your voice heard on hot topics, innovative technologies and key initiatives.
2. Receive points for every validated survey submission.
3. Redeem award points for cash.

SOLVE THIS CODE

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

Newsletter

Get weekly reviews sent directly to your inbox!