Only get one of the balanced brackets

I am not getting the required results I only get one time bracket

Please share the link of your code
how to send Link of Code ?

paste you code at

click on file->save->link will be generated
send the link of code generated
it will look like https://ide.codingblocks.com/s/258793