## C Program to check the type of triangle

C Program to check the type of triangle [crayon-5e2bf5afb3932772199033/] Output : [crayon-5e2bf5afb393e829713216/]

C Program to check the type of triangle [crayon-5e2bf5afb3932772199033/] Output : [crayon-5e2bf5afb393e829713216/]

C Program to find area and circumference of circle [crayon-5e2bf5afb4441055365474/] Output : [crayon-5e2bf5afb4449238356943/] Explanation of Program : In this program we have to calculate the area and circumference of the circle. We have following 2 formulas for finding circumference and area of circle. [crayon-5e2bf5afb444c025996587/] and [crayon-5e2bf5afb444f131430481/] In the above program we have declared the floating point variable PI whose value is defaulted to 3.14.We are accepting the radius from user. [crayon-5e2bf5afb4452275535180/] Download C Program : [box style="download"]Download Area Of Circle Program | Right Click and Save As[/box]

January 12, 2012 By Pooja Area Programs, Maths Program Basic C Programs, C Programs : Area, C Programs : Maths 0 Comments Read more...

C Program to Find Area of Scalene Triangle : [crayon-5e2bf5afb4838100744639/] Output : [crayon-5e2bf5afb483f738082749/] C Program for Beginners : Area of Scalene TriangleProperties of Scalene Triangle :Scalene Triangle does not have sides having equal length. No angles of Scalene Triangle are equal. To calculate area we need at least two sides and the angle included by them.Formula to Find Area of Scalene Triangle :Explanation and Program Logic : Part 1 : M_PI [crayon-5e2bf5afb4843590949706/]It is Constant defined in math.h Header File It contain value = 3.14 in short [...]

C Program for Beginners : Area of Square [crayon-5e2bf5afb4bf6735125930/] Output : [crayon-5e2bf5afb4bfc242924979/] Properties of Equilateral Triangle :Equilateral triangle is a triangle in which all three sides are equal . All angles are of measure 60 degree A three-sided regular polygonFormula to Calculate Area of Equilateral Triangle :Explanation of Program : First of all we have to find the value of Root 3 / 2. So we have used following statement to compute the value. [crayon-5e2bf5afb4c00792470780/] Now after computing the value of the Root 3 by 2 we have [...]

C Program for Beginners : Area of Right Angled TriangleRight angle Triangle Definition :Triangle having one angle of measure 90 degree is called Right angle Triangle. Sides of Triangle are : base , height , hypotenuse. You can compute the area of a Tr. if you know its any two sides.Program :[crayon-5e2bf5afb4fbb976841749/] Output : [crayon-5e2bf5afb4fc2203229318/]

C Program for Beginners : Area of CircleShape : Circle Formula : Π * r * r Definition :Ellipse in which the two axes are of equal length Plane curve generated by one point moving at a constant distance from a fixed point You can compute the area of a Circle if you know its radius.Program :[crayon-5e2bf5afb5334710892677/] Output : [crayon-5e2bf5afb533b074464845/]

C Program for Beginners : Area of RectangleShape : Rectangle [crayon-5e2bf5afb56a2431844204/] DefinitionA plane figure with 4 sides and 4 right angles and having Equal Opposite Sides Adjucent sides makes an angle of 90 degreeYou can compute the area of a Rectangle if you know its length and breadthProgram : [crayon-5e2bf5afb56a9113125415/] Output : [crayon-5e2bf5afb56ac852831727/]

C Program for Beginners : Area of SquareShape : Square Formula : side * side Definition :A plane rectangle with four equal sides and four right angles A four-sided regular polygon You can compute the area of a square if you know the length of its sidesProgram :[crayon-5e2bf5afb5a3a442992883/] Output : [crayon-5e2bf5afb5a41759095410/]

Calculating Area of Different Geometric ShapesSquareRectangleCircleRight angled Tr.Scalene triangle Equilateral Triangle

Area of Circle can be computed using the pointer. We are passing the variables to function using pass by reference or address scheme and we are writing the result directly on the final memory location.

January 12, 2010 By Pooja Area Programs C Programs : Area, C Programs : Pointer 0 Comments Read more...

© Copyright 2015. All Rights Reserved.