I am still a beginner in C and am currently having trouble with if and else statements.
I kept getting an element in the array deleted despite the input not being fou