Program to find the area of the squareArea of the square is the amount of space occupied by a square. Square refers to a plane figure with four equal straight sides and four right angles. Formulaarea = width height Area of square will be calculated as : area = side2 since width = height; Algorithm
ComplexityO(1) SolutionC ProgramOutput: Area of the square=169 PHP ProgramOutput: Area of the square=169 Java ProgramOutput: Area of the square=169 C# ProgramOutput: Area of the square=169 Python ProgramOutput: Area of the square=169
Next Topic#
|