Meri kalam se

Wednesday, 16 February 2022

Volume of a cyliner in C

 #include <stdio.h>


int main()

{
    int radius=34;
    float pi=3.14;
    int height=9;
    printf("The volume of a cylinder is: %f",pi*radius*radius*height);
 return 0;
}
Posted by Anchal at 00:30
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: My C Programs

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Anchal
View my complete profile

Blog Archive

  • ▼  2022 (16)
    • ►  April (1)
    • ▼  February (15)
      • check whether the entered character is a lowercase...
      • convert from km to m and cm
      • calculate income tax in C
      • SwitchCase in C
      • Even Odd number in C
      • Expression in c
      • Divisibility Test in C
      • Table of a number in C
      • calculating simpleInterest in C
      • Coverting temperature from celsius to Fehrenheit in C
      • Volume of a cyliner in C
      • Area of a circle in C
      • Find out area of a rectangle by taking input from ...
      • Take input from used and then add 2 sums in C
      • Fibonacci Sequence in C language
  • ►  2020 (1)
    • ►  March (1)
  • ►  2014 (7)
    • ►  March (7)
Simple theme. Powered by Blogger.