help pls first SUMO robot code

#include <SharpIR.h>

#define ir A0
#define ia A1
#define ic A2

#define model 1080

SharpIR Sharp(ir, model);
SharpIR Sharp1(ia,model);
SharpIR Sharp2(ic,model);

const int in1 = 2; // IN4 pin 2

const int in2 = 4; // IN3 pin 4

const int in3 = 5; // IN2 pin 5

const int in4 = 7; // IN1 pin 7
int ENB1=3;
int ENA2=6;

void setup()

{

pinMode(ir, INPUT); // вход

pinMode(in1, OUTPUT); // выход на L298n

pinMode(in2, OUTPUT); // выход на L298n

pinMode(in3, OUTPUT); // выход на L298n

pinMode(in4, OUTPUT); // выход на L298n
pinMode(ENB1,OUTPUT);
pinMode(ENA2,OUTPUT);

}

void loop()

if (Sharp.distance()>200) // если расстояние более 20 сантиметров

{
digitalWrite(in1, LOW);
digitalWrite(in2, HIGH);
digitalWrite(in3,HIGH);
digitalWrite(in4,LOW);
analogWrite(ENB1,75);
analogWrite(ENA2,75);
}

else

{
digitalWrite(in1, LOW);
digitalWrite(in2, HIGH);
digitalWrite(in3,LOW);
digitalWrite(in4,HIGH);
analogWrite(ENB1,250);
analogWrite(ENA2,250);
}

if (Sharp1.distance()>200) // если расстояние более 20 сантиметров

{
digitalWrite(in1, LOW);
digitalWrite(in2, HIGH);
digitalWrite(in3,HIGH);
digitalWrite(in4,LOW);
analogWrite(ENB1,75);
analogWrite(ENA2,75);
}

else

{
digitalWrite(in1, LOW);
digitalWrite(in2, HIGH);
digitalWrite(in3,LOW);
digitalWrite(in4,HIGH);
analogWrite(ENB1,250);
analogWrite(ENA2,250);
}

if (Sharp2.distance()>200) // если расстояние более 20 сантиметров

{
digitalWrite(in1, LOW);
digitalWrite(in2, HIGH);
digitalWrite(in3,HIGH);
digitalWrite(in4,LOW);
analogWrite(ENB1,75);
analogWrite(ENA2,75);
}

else

{
digitalWrite(in1, LOW);
digitalWrite(in2, HIGH);
digitalWrite(in3,LOW);
digitalWrite(in4,HIGH);
analogWrite(ENB1,250);
analogWrite(ENA2,250);
}
}

Problem: expected initializer before 'if'

What should come right after"void loop()" ?

GrooveFlotilla:
What should come right after"void loop()" ?

Spin and find the enemy using 3 sensors

I'll try again.
What does come right after "void setup()" ?
Why doesn't "void loop()" have one?

Spin and find the enemy using 3 sensors

Nice try, but first, the code has to compile.