//given //find the area of piston and displacement of that piston a=3. b=4. A=0.785*3**2 printf("\n area of piston %.2f ",A) D=A*b //by using above results printf("\n displacement of piston %.2f cu in",D)