1 solutions

  • 0
    @ 2025-11-29 12:35:42

    C :

    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    int main()
    {
        //printf("Please input x and y:\n");
        float x,y;
        scanf("%f,%f",&x,&y);
        printf("Result=%.2f\n",(pow(x,2)+pow(y,2)));
        return 0;
    }
    
    • 1

    Information

    ID
    80
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By