Someone please help me i am unable to solve it out

Please don’t post images of text. Copy and paste the problem as text.

Also, what have you tried? What code have you written to solve this?

Don’t expect us to do your homework for you. We’ll help with parts that you don’t understand, but you still have to do most of the work.

Also, please don’t SHOUT when asking questions. All-caps is read as shouting, and it is rarely necessary.


sorry sir but i didn’t meant to be rude and that is not my homework question as well i am trying to start a project so i was clearing my basics and i could not solve it out thought to get a help from the community