> For the complete documentation index, see [llms.txt](https://mun.gitbook.io/c/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mun.gitbook.io/c/c/ch2/arithmetic-operators/math-operation.md).

# Math Operation

```c
#include<stdio.h>
#include<math.h>
int main(){
    int x1 = 2, x2 = 3, y1 = 3, y2 = 4;
    float ans;
    
    ans = sqrt(pow((x1-x2),2)+pow((y1-y2),2));
    printf("%lf\n", ans);

    return 0;
}
```
