I dont understand why it doesnt pass 1st test case

it doesnt pass the first test case, help me to figure it out pls

Hello @maazsaad please share your code by saving it on ide.codingblocks.com

@maazsaad i have corrected your code and commented the mistake:


Happy Learning!!