Digital Logic-program1