Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- void main()
- {
- float a,b,c,s;
- printf("Введите катет А: ");
- scanf("%f",&a);
- printf("Введите катет B: ");
- scanf("%f",&b);
- s=(a*b)/2;
- c=sqrt(a+b);
- printf("c=%f",c);
- printf("s=%f",s);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement