C program for surface area and volume of cylinder

Posted on by

C Program For Surface Area And Volume of Cylinder

c program for surface area and volume of cylinder

Here is source code of the C Program to Find the volume and surface area of tangoo.info C program is successfully compiled and run on a.

for    homemade heating pad with beans

Write a c program to compute the surface area and volume of a cube. The area of a triangle is one half base times height, so you would write a program to input the base and height, giving the option to stop, calculating and printing the area, and then looping to repeat as desired. Find the surface area of the whole cylinder 2. Find the area of one of the two circles on either end of the cylinder 3. Multiply the circle's area by two and subtract their area from the total surface area 4.

By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. Setup a private space for you and your coworkers to ask questions and share information. I am getting surfacearea and volume as zero,i am unable to find error in code,please help me This question appears to be off-topic. The users who voted to close gave this specific reason: "This question was caused by a problem that can no longer be reproduced or a simple typographical error.

Given radius and height of Cylinder, calculate the volume, total surface area and curved surface area of cylinder. Total Surface Area of Cylinder : Surface area of cylinder is the number of square units that will exactly cover outer surface of a cone. There are three surfaces in a cylinder, one curved and two circular bases. Total surface area of cylinder is the sum of the area of both circular bases and area of curved surface. We can calculate curved surface area and total surface area by using formula:.

If we know the radius & height of the cylinder, we can write C Program to find Volume and Surface Area of a Cylinder using 2?r? + 2?rh (r=radius & h=height).
there can be no fifty fifty americanism in this country

A cylinder is a three dimensional solid that has two circular bases connected by a curved surface. A cylinder can be formed by two circles of same radius R and the curved surface formed by all the points at a distance of R from axis axis is a line segment joining the center of both bases. Cylinder objects are very common in everyday life, like a cylindrical can. Here, we are discussing about right circular cylinder, means the bases of the cylinder are circular and the axis is perpendicular to both bases. Toggle navigation Home.

Post a Comment. Write a c program to find the volume and surface area of cylinder. Formula of surface area of cylinder:. Formula of volume of cylinder:. C code:. Sample output:.

C Programming Articles




Calculate Volume, Curved Surface Area and Total Surface Area Of Cylinder



2 thoughts on “C program for surface area and volume of cylinder

Leave a Reply