A program to display the reasult of cb^3/d^2
Here is the source code of C programming to display the reasult of cb^3/d^2 with simple input output operation.
/* A program to display the reasult of cb^3/d^2
programmed by
Name: Jitendra Kumar Yadav
Roll: 16
date: 16th december 2010 */
#include <stdio.h>
#include <conio.h>
#include <math.h>
void main()
{
int b,c,d;
float a;
printf(“Enter the first variable (b):”);
scanf(“%d”,&b);
printf(“Enter the second variable (c):”);
scanf(“%d”,&c);
printf(“Enter the third variable (d):”);
scanf(“%d”,&d);
a=(c*pow(b,3))/pow(d,2);
printf(“The value of (cb^3/d^2) is %f”,a);
getch();
}
Apter compiling the above code just run then you will see the screen. Now follow and enter the value as asked.
Output example
Enter the first value (b): 2
Enter the second variable (c): 3
Enter the third variable(d): 3
the value of c*b^3/d^2 is 2.666667.








