You are on page 1of 2

NAME:V.

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)

a=float(input("enter the side of the square in cms:"))


B=a*a
print("AREA=",B)

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

a=int(input("enter the length of rectangle"))


b=int(input("enter the breadth of the rectangle"))
A=a*b
print("area=",A)

output:
enter the length of rectangle5
enter the breadth of the rectangle5
area=25.0

You might also like