DevMetric is the spot for developers to rate and review software tools.
Sign up for free to start sharing your opinion today!

VATS's Profile



VATS



Reviews
2
Helpful: 0


Code of the Week
0
Won: 0

User Reviews

    AppInventor

    Company: Google
    • Currently 5/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    Version Reviewing: Design and program your own apps

    "App Inventor is a visual, blocks language for building Android Apps"

    by VATS on Jun 10, 2016 12:47 AM

    Summary:
    App Inventor for Android is an open-source web application originally provided by Google, help Develop your very own Android Applications using MIT App .

    Report post

    Was this review helpful? (0) (0)
  • RSA

    Company: EMC
    • Currently 5/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    Version Reviewing: 4

    "governance, provisioning, authentication, and single sign-on"

    by VATS on Jun 10, 2016 12:43 AM

    Summary:
    EMC RSA Security Analytics, a SIEM product that collects and analyzes security data for enterprises.

    Report post

    Was this review helpful? (0) (0)


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!