Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » Mathematics ProgramRSS Feeds

PROGRAM TO FIND VOLUME OF A CYLINDER

Posted By: Vande Fischer     Category: C Programming     Views: 27521

WRITE A PROGRAM TO FIND VOLUME OF A CYLINDER.

Code for PROGRAM TO FIND VOLUME OF A CYLINDER in C Programming

#include<stdio.h>
#include<conio.h>

void main()
{
    float vol,pie=3.14;
    float r,h;
    clrscr();
    printf("ENTER THE VALUE OF RADIOUS :- ");
    scanf("%f",&r);
    printf("ENTER THE VALUE OF HEIGHT :- ");
    scanf("%f",&h);
    vol = pie * r * r * h;
    printf("VOLUME OF CYLINDER IS :- %3.2f ",vol);
    getch();
}
  
Share: 


Didn't find what you were looking for? Find more on PROGRAM TO FIND VOLUME OF A CYLINDER Or get search suggestion and latest updates.

Vande Fischer
Vande Fischer author of PROGRAM TO FIND VOLUME OF A CYLINDER is from Frankfurt, Germany.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!