Unexpected token return
in
Programming Questions
•
1 year ago
I have this:
- boolean circa(float Zahl,float UGW, float OGW)
{
if (Zahl > UGW) AND (Zahl < OGW)
return true
else
return false
}
It should return true if a value Zahl is in between UGW and OGW. Returns unexpected token return. Why?
1