sample program 3