C programming
Writing root equation:
#include<conio.h>
#include<stdio.h>
#include<math.h>
void main()
{ clrscr();
int
d,s,h,ans;
printf("enter
number to calculate EOQ(Enter serially>d,s,h):");
scanf("%d
%d %d",&d,&s,&h);
ans=sqrt((2*s)/(d*h));
printf("output
is=%d",ans);
getch();
}
No comments:
Post a Comment
Please comment bellow. Share your knowledge