What is wrong here


#1


Replace this line with your code.


#2

after the else if thing, you didn; t say what it needs to do. and you can't use a else before a else if. you need to use them in this order: if, else if, else

i hope this helps :slight_smile:


#3

Look at your else if

if (....) 
{

} 
else if (....) 
{

}
else if (....)
{

}

You see you need closing curly brackets after an else if and this is what you miss


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.