Hi nehaverma, wecome to the forums!

When you post code, use the code tags. Put
at the start of a section of code and at the end. That way the forum software will attempt to format your code...