Beginner programmers often think, and are often told, that the only use for a method definition is to eliminate repetition in a program’s implementation. Keeping your code DRY is important, and defining…