complete program ex 3