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 Python, python program
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:-
Write a python program to find the area and volume of cylinder ?in Python, python program
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 .
code:->>> 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).
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