Post Page Advertisement [Top]

python program

Write a python program to find the area and volume of cylinder ?

Home /python language /Write a python program to find the area and volume of cylinder ? 
Write a python program to find the area and volume of cylinder ?in 
Write a python program to find the area and volume of cylinder ?
Python is a procedural programming language. It is an interpreted, widely used ,high-level, general-purpose, object oriented programming language created in late of 1980's .
>>>  is prompt of the python. It is a interface b/w a user and system. It interprets the high level values (Source Code) into low level value (target value).
code:-
radius =int(input("enter radius:-"))
height = int(input("enter height:-"))
volume =3.14*radius*height
area =2*3.14*radius*radius+2*3.14*radius*height
print (volume)
print (area)

Flow chart:-


No comments:

Post a Comment

Bottom Ad [Post Page]