Facing a strange situation. Any help is appreciated.
- There is a delay of few seconds while displaying the first message. This occurs when the program is executed the first time after compilation.
- When the program is executed a second or third time (without compiling again), there is no delay.