interrupt question

GolamMostafa:
In your interrupt program, .....

This is too complicated - and I agree with @gfvalvo

Advice should ALWAYS be tailored to the level of knowledge and experience of the student.

...R