Please, abide by the following steps and put code tags on your program codes what you have just now posted.
Kindly reformat the program codes of your post in accordance with the following instructions:
(a) Open your post in the Edit/Modify Mode.
(b) Bring the cursor at the very beginning of your code. Now, type this word: [ c o d e ]. Please, do not keep spaces among the letters while typing the word. Keep them together. I have to keep spaces due to some technical reasons.
(c) Bring the cursor at the very end of your code. Now, type this word: [ / c o d e ]. Please, do not keep spaces among the letters while typing the word. Keep them together. I have to keep spaces due to some technical reasons.
(d) Press the save button.
Now, your codes/post looks so beautiful!