Functions and Program Design
Use functions to break a big problem into small pieces. Each small problem is solved by a function.
For the bar graph problem we can
- read and print the lake name by echoing the input.
- Read the volume of a lake.
- Print the required number of stars.