Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float terulet(float a,float b){
- return a*b;
- }
- float felulet(float x,float y, float z){
- return 2*(terulet(x, y)+terulet(z, y)+terulet(x, z));
- }
- int main_t() {
- float x,y,z ;
- scanf("%f %f %f",&x,&y,&z);
- printf("V = %10.3f%cA = %10.3f%c",x*y*z,10,felulet(x,y,z),10);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement