Functions with no parameters and no return values

Listing 2 shows a program with two user-defined functions that take no parameters and that do not return a value.