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