ifthenloopdemo

modified loop demo