I need help in vcs

I have been getting a error in my code that says expected statement and it is giving me issues because I have not been able to find anything about it. If anyone can help please do. image

you need braces around the preceding statements

if( some expression is true ) {
  // code
  // code
}
else {
  // more code
}
4 Likes

Thankyou for the help I will put it in and let you know if it works.