Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- double a,b,c,summe;
- while(1){
- scanf("%lf %lf %lf", &a,&b,&c);
- if(a == 0){
- break;
- }
- else{
- summe = (a*b*c)/2;
- printf("%.0lf paginas\n",summe);
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement