I need your help in checking my code.Urgent please.

pulseIn(pin, value, timeout)
timeout (optional): the number of microseconds to wait for the pulse to start; default is one second (unsigned long)