Code is creating an error?

Hello everyone, Below is my code for the "Color Mixing Lamp" project 4, in the Arduino getting started book. I have all the code typed in exactly as the book states and I am not familiar enough with 'C' to understand the errors in the compile log. If anyone could help and explain to me why my code wasn't working, that would be much appreciated! Thanks.

Project code:

const int = greenLEDPin = 9;
const int = redLEDPin = 11;
const int = blueLEDPin = 10;

const int redSensorPin = A0;
const int greenSensorPin = A1;
const int blueSensorPin = A2;

int redValue = 0;
int greenValue = 0;
int blueValue = 0;

int redSensorValue = 0;
int greenSensorValue = 0;
int blueSensorValue = 0;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  
  pinMode(greenLEDPin, OUTPUT);
  pinMode(redLEDPin, OUTPUT);
  pinMode(blueLEDPin, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  redSensorValue = analogRead(redSensorPin);
  delay(5);
  greenSensorValue = analogRead(greenSensorPin);
  delay(5);
  blueSensorValue = analogRead(blueSensorPin);
  Serial.print("Raw sensor values \t Red:");
  Serial.print(redSensorValue);
  Serial.print("\t Green: ");
  Serial.print(greenSensorValue);
  Serial.print("\t Blue: ");
  Serial.println(blueSensorValue);
  
  redValue = redSensorValue/4;
  greenValue = greenSensorValue/4;
  blueValue = blueSensorValue/4;
  
  Serial.print("Mapped Sensor Values \t Red: ");
  Serial.print(redValue);
  Serial.print("\t Green: ");
  Serial.print(greenValue);
  Serial.print("\t Blue: ");
  Serial.println(blueValue);
  analogWrite(redLEDPin, redValue);
  analogWrite(greenLEDPin, greenValue);
  analogWrite(blueLEDPin, blueValue);
}

Compile Log:

Arduino: 1.6.3 (Windows 8.1), Board: "Arduino Uno"

sketch_apr04d.ino:1:11: error: expected unqualified-id before '=' token

sketch_apr04d.ino:2:11: error: expected unqualified-id before '=' token

sketch_apr04d.ino:3:11: error: expected unqualified-id before '=' token

sketch_apr04d.ino: In function 'void setup()':

sketch_apr04d.ino:21:11: error: 'greenLEDPin' was not declared in this scope

sketch_apr04d.ino:22:11: error: 'redLEDPin' was not declared in this scope

sketch_apr04d.ino:23:11: error: 'blueLEDPin' was not declared in this scope

sketch_apr04d.ino: In function 'void loop()':

sketch_apr04d.ino:28:18: error: assignment of read-only variable 'redSensorValue'

sketch_apr04d.ino:30:20: error: assignment of read-only variable 'greenSensorValue'

sketch_apr04d.ino:32:19: error: assignment of read-only variable 'blueSensorValue'

sketch_apr04d.ino:50:15: error: 'redLEDPin' was not declared in this scope

sketch_apr04d.ino:51:15: error: 'greenLEDPin' was not declared in this scope

sketch_apr04d.ino:52:15: error: 'blueLEDPin' was not declared in this scope

Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
// change these
const int = greenLEDPin = 9;
const int = redLEDPin = 11;
const int = blueLEDPin = 10;

// to these
const int greenLEDPin = 9;
const int redLEDPin = 11;
const int blueLEDPin = 10;

Oh wow. Can't believe I missed that. :drooling_face: Thanks!