jituTechnology

jituTechnology

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.

No comments yet.

Add a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.



Connect with Me

GPO 8973 NPC 541; Kathmandu Nepal
Phone: +977 9851236800

Calendar

January 2026
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031