Program 11.1
11.1b - delete duplicate method from main.c