Demonstrate how a function with internal statements works.