{"size": 1182, "ext": "js", "max_stars_repo_path": "JavaScriptFund/OperatorsAndExpressions/PointInCircle/js/script.js", "max_stars_repo_name": "DJBuro/Telerik", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "JavaScriptFund/OperatorsAndExpressions/PointInCircle/js/script.js", "max_issues_repo_name": "DJBuro/Telerik", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "JavaScriptFund/OperatorsAndExpressions/PointInCircle/js/script.js", "max_forks_repo_name": "DJBuro/Telerik", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.8888888889, "max_line_length": 62, "alphanum_fraction": 0.3798646362}
﻿taskName = "Point in Circle";

function Main(bufferElement) {

    var x = 0;
    var y = 1;
    var r = 5;
    WriteLine((x * x) + (y * y) <= (r * r) ? 'true' : 'false')

    var x = -5;
    var y = 0;
    var r = 5;
    WriteLine((x * x) + (y * y) <= (r * r) ? 'true' : 'false')

    var x = -4;
    var y = 5;
    var r = 5;
    WriteLine((x * x) + (y * y) <= (r * r) ? 'true' : 'false')

    var x = 1.5;
    var y = -3;
    var r = 5;
    WriteLine((x * x) + (y * y) <= (r * r) ? 'true' : 'false')

    var x = -4;
    var y = -3.5;
    var r = 5;
    WriteLine((x * x) + (y * y) <= (r * r) ? 'true' : 'false')

    var x = 100;
    var y = -30;
    var r = 5;
    WriteLine((x * x) + (y * y) <= (r * r) ? 'true' : 'false')

    var x = 0;
    var y = 0;
    var r = 5;
    WriteLine((x * x) + (y * y) <= (r * r) ? 'true' : 'false')

    var x = 0.2;
    var y = -0.8;
    var r = 5;
    WriteLine((x * x) + (y * y) <= (r * r) ? 'true' : 'false')

    var x = 0.9;
    var y = -4.93;
    var r = 5;
    WriteLine((x * x) + (y * y) <= (r * r) ? 'true' : 'false')

    var x = 2;
    var y = 2.655;
    var r = 5;
    WriteLine((x * x) + (y * y) <= (r * r) ? 'true' : 'false')
}