Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. float terulet(float a,float b){
  2. return a*b;
  3.  
  4.  
  5.  
  6. }
  7. float felulet(float x,float y, float z){
  8. return 2*(terulet(x, y)+terulet(z, y)+terulet(x, z));
  9.  
  10.  
  11.  
  12. }
  13.  
  14.  
  15.  
  16.  
  17. int main_t() {
  18. float x,y,z ;
  19. scanf("%f %f %f",&x,&y,&z);
  20. printf("V = %10.3f%cA = %10.3f%c",x*y*z,10,felulet(x,y,z),10);
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement