Professional Documents
Culture Documents
SKANDA VIJAY
ROLL NO:181002166
AREA OF CIRCLE AND SQUARE
r=int(input("enter the radius of the circle:"))
A = 3.14*r*r
print("area=",A)
Python 3.4.4rc1 (v3.4.4rc1:04f3f725896c, Dec 6 2015, 16:42:12) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>>
============= RESTART: D:/SKANDA VIJAY MECH C/AREA OF CIRCLE.py =============
enter the radius of the circle:6
area= 113.03999999999999
enter the side of the square in cms:5
AREA= 25.0
>>>
NAME:V.SKANDA VIJAY
ROLL NO:181002166
AREA OF RECTANGLE
output:
enter the length of rectangle5
enter the breadth of the rectangle5
area=25.0