Hi guys I am having some problems using a less than and more than in one statement
if (Time <= 100f && >= 0f)
{
gold = true;
}
if(Time < 200f && >= 100f)
{
silver = true;
}
if(Time >= 200f)
{
bronze = true;
}
I am getting these errors
Assets/Scripts/Timer.cs(42,38): error CS1525: Unexpected symbol >=' Assets/Scripts/Timer.cs(47,18): error CS1519: Unexpected symbol
if’ in class, struct, or interface member declaration
Assets/Scripts/Timer.cs(47,26): error CS1519: Unexpected symbol <' in class, struct, or interface member declaration Assets/Scripts/Timer.cs(49,32): error CS1519: Unexpected symbol
=’ in class, struct, or interface member declaration