Source Code:
Output Preview :
www.c4learn.com/tutorials/ - Try it yourself