C Programming Nested If Else In Javascript Problems Practice