Help with a program capable of producing two pulses lasting 1 second each

The purpose of assignments like this is for you to learn something. If we do it, we learn something but you don't.