SHOW:
|
|
- or go back to the newest paste.
1 | #include <stdio.h> | |
2 | #include <math.h> | |
3 | float iks_de(int a, int b){ | |
4 | return sqrt(a*a+b*b); | |
5 | } | |
6 | - | int main() |
6 | + | int main(){ |
7 | - | { |
7 | + | |
8 | float xd; | |
9 | scanf("%i%i",&a,&b); | |
10 | xd = iks_de(a,b); | |
11 | printf("%.2f",xd); | |
12 | } |