Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- #include <stdlib.h>
- int main(){
- float a,b,hip;
- printf("Entre com os catetos\n");
- scanf("%f%f",&a,&b);
- hip = sqrt(a*a + b*b);
- printf("%f",hip);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement