Advertisement
Avdluna

Untitled

Sep 13th, 2015
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.  
  7. double a,b,c,summe;
  8.  
  9. while(1){
  10.  
  11. scanf("%lf %lf %lf", &a,&b,&c);
  12.  
  13. if(a == 0){
  14.  
  15. break;
  16.  
  17. }
  18. else{
  19.  
  20. summe = (a*b*c)/2;
  21.  
  22. printf("%.0lf paginas\n",summe);
  23. }
  24.  
  25. }
  26.  
  27.  
  28.  
  29. return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement