Expected unqualified-id before '{' token

I'm working on my first robot and I'm getting the error message "expected unqualified-id before '{' token . How could I fix this in my code?
This is my code:

void setup();
{
#include<Servo.h>
Servo servoOne;
#include<Servo.h>
Servo servoTwo;
#include<Servo.h>
Servo servoThree;
#include<Servo.h>
Servo servoFour;
#include<Servo.h>
Servo servoFive;
#include<Servo.h>;

servoOne.attach(7);
servoTwo.attach(6);
servoThree.attach(5);
servoFour.attach(4);
servoFive.attach(3);
servoSix.attach(8);
pinMode (7, OUTPUT)//lid
pinMode (6, OUTPUT)//bucket motion
pinMode (5, OUTPUT)//Steering
pinMode (4, OUTPUT)//ping sensor upwards
pinMode (1, OUTPUT)//forwards motor
pinMode (2, OUTPUT)//backwards motor
pinMode (3, OUTPUT)// arm elbow joint
pinMode (A5, INPUT)//ping sensor
pinMode (0, INPUT)
pinMode (8, OUTPUT)//turn ping sensor
pinMode (9, OUTPUT)
servoOne.write(135);
pinMode (11, OUTPUT)
}

void loop()
{
  while  digitalRead(0, LOW);
 digitalWrite(1, High);
 
 while analogRead(A5) <= 2000//less than 200o milliseconds
 digitalWrite(2,HIGH)//backs up
 digitalWrite(1,LOW)//turns off 
 delay(1000)
 digitalWrite(2,LOW)//Backwards motor off
 digitalWrite(4,HIGH)//ping upwards
 delay(500)
 digitalWrite(4,LOW)//Stops Ping sensor
 if (analogRead(A5)>=4000)//ping says object is not too tall
servoSix.write(125)
delay (1000)
servoSix.write(55)
delay (1000)
servoSix.write(90)
delay (250)
servoFive.write(45)
digitalWrite(1,HIGH)
delay (500)
servoTwo.write(0)
digitalWrite(1,LOW)
servoOne.write(0)
delay (250)
servoFive.write(179)
delay (250)
servoOne.write(130)
servoFive.write(110)
digitalWrite(1, HIGH)
else
 delay 1500
 digitalWrite(2, LOW)
 servoThree.write(135)
 digitalWrite(1,HIGH)
 delay(1000)
servoThree.write(90)
digitalWrite(1, HIGH)
  
  
  /code]

Looking at the code I would say start with 'blink' example, your code is too far from compilable
Maybe you've posted the wrong code. i'm missing structure , correct syntax use, and brackets.
ps .. i'm writing this in a non rude mindset.

A header like

#include<Servo.h>

only needs to be declared one time. Also notice that in the last one you have a ";" and should'nt be there.

As astrofrostbyte says the code doesn't make any sense, for example:

pinMode (7, OUTPUT)

you don't have ";"

pinMode (7, OUTPUT);

So many simple syntac errors that is beyond my ability and patience to list them all. Your most
common error is forgetting to end every statement line with a ;

But many more simple errors also. You need to write simpler smaller sketches until you learn what errors you tend to make so you can find and correct them yourself.

Good luck, and hang in there, it gets better. :wink:

Lefty

robotnerd12:
void setup();

Lose the spurious semicolon.

robotnerd12:
#include<Servo.h>

Only include the header file once, and put the #include above your code.

robotnerd12:
pinMode (7, OUTPUT)//lid

Each statement should end with a semicolon. Take a careful look at the example sketches and make your code look similar.

I had coded on scratch before using Arduino, and do definitely have errors in the code.I wasn't sure if there was a simple fix to the error message I had, so that I could Deglitch the rest. Thanks for all the helpful comments.