I am getting an syntax error

Hey @yaswanth0412
I did 3 minor corrections 2 syntatical and 1 logical
Check this :https://ide.codingblocks.com/s/320773

I hope your query is resolved now :slight_smile:
If its then please mark it so :slight_smile: