I followed Richards suggestions and emended your code, try
#include <stdio.h>
double CuttingRotation(double Dm1, double n1);
double Power(double f1,double ap1,double kc1,double N1,double VC1);
double Machiningtime(double n1,double L1,double Dm1,double f1,double VC1);
double Grooving(double f1,double n1,double d1,double d2);
int main()
{
double VC,Dm,n;
double f,ap,kc,N,PC,H;
double Q;
double L,T;
double T1,D1,D2;
printf("Enter the value of diameter of workpiece(DM) and spindle speed(n):");
scanf("%lf %lf",&Dm,&n);
VC = CuttingRotation(Dm,n); printf("\nCutting Speed:%lf",VC); printf("\nEnter the value of Feed Rate(f),Depth of cut(ap),Specific cutting force(kc) and Machine efficiency(N) one by one");
scanf("%lf %lf %lf %lf",&f,&ap,&kc,&N);
PC = Power(f,ap,kc,N,VC); printf("\nNetPower Requirement: %lf",PC); H = PC/0.75;
printf("\nRequired horsepower:%lf",H); Q= VC*ap*f; printf("\nChips Discharge amount:%lf",Q); printf("\ninput machine length:");
scanf("%lf",&L);
T = Machiningtime(n,L,Dm,f,VC); printf("\nMachine Time:%lf",T); printf("\nEnter Maximun diameter of work material and Minimun diameter of work material");
scanf("%lf %lf",&D1,&D2);
T1=Grooving(f,n,D1,D2); printf("Grooving machine time:%lf",T1);
return 0;
}
double CuttingRotation(double Dm1, double n1) {
double result;
result=(n1*Dm1*n1)/1000;
return result;
}
double Power(double f1,double ap1,double kc1,double N1,double VC1) {
double result;
result=(VC1*f1*ap1*kc1)/(60*1000*N1);
return result;
}
double Machiningtime(double n1,double L1,double Dm1,double f1,double VC1) {
double result;
result= (60*n1*L1*Dm1)/(1000*f1*VC1);
return result;
}
double Grooving(double f1,double n1,double d1,double d2) {
double result;
result= (60*(d1-d2))/(2*f1*n1);
return result;
}