1 2 3 4 5 6 7
//To find pitch diameter clc //given Teeth=48 pitch=.75 //in D=Teeth*pitch/%pi printf("The pitch diameter is %.3f in",D)