my code says segmantation fault when i run it can someone help me? : <p>}<a href="https://i.stack.imgur.com/R015I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R015I.png" alt="enter image description here"></a></p>

<p>but when I run it it says segmentation fault and apart from that, I don't know if the code is correct.</p>

<p><a href="https://i.stack.imgur.com/Ncy8R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ncy8R.png" alt="enter image description here"></a></p>
