Program to calculate the area of the rectangleArea of a rectangle is the amount of space occupied by the rectangle. A rectangle can be defined as the plain figure with two adjacent sides equal in length. The 4 angles present in the rectangle are also equal. A rectangle can be divided into 4 similar square. The measurement of each interior angle in a rectangle is 90 degrees. Area of a rectangle is the number of square units takes to fill a rectangle completely. Formulawhere A is the area of the rectangle Algorithm
ComplexityO(1) SolutionC ProgramOutput: Area of the rectangle=50 PHP ProgramOutput: Area of the rectangle=50 Java ProgramOutput: Area of rectangle=50 C# ProgramOutput: Area of rectangle=50 Python ProgramOutput: Area of rectangle=50 Next Topic# |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India