Interview Questions

Wednesday, March 26, 2014

Compare two fields value and print a message

static void absExample(Args _args)
{
    real r1;
    real r2;
    ;

    r1 = abs(3.14);
    r2 = abs(3.14);
    if (r1 == r2)
    {
        print "abs of values are the same";
        pause;
    }
}

No comments:

Post a Comment