i am not friendly with the language mentioned above but thanks for the SCC code given above.