Home /python language / How to make a algorithm and flowchart for a python program to find the area and volume of cylinder ?
How to make a algorithm and flowchart for 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:-
How to make a algorithm and flowchart for a python program to find the area and volume of cylinder ?
in Python, python program
How to make a algorithm and flowchart for 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:-
0 Comments