What does this error mean??

This is my program :

#include <Servo.h>

int LedPin1 = 12;
int LedPin = 13;
int MotorPin1 = 9;
int MotorPin2 = 10;
int servoPin = 6;

Servo VishalServo;

void setup()
{
digitalWrite(LedPin, HIGH);
Serial.begin(9600);
Serial.println("Robotic tank");
pinMode(LedPin, OUTPUT);
pinMode(LedPin1, OUTPUT);
pinMode(MotorPin1, OUTPUT);
pinMode(MotorPin2, OUTPUT);
VishalServo.attach(servoPin);
VishalServo.writeMicroseconds(1500);
Serial.println("Wait for 1 second");
delay(1000);
Serial.println("You can now give commands");
}

void loop()
{
while (Serial.available() == 0);
int val = Serial.read() - '0';

int i = VishalServo.read();

if (val == 2)
{
Serial.println("Robot is On");
digitalWrite(MotorPin1, HIGH);
digitalWrite(MotorPin2, HIGH);
VishalServo.writeMicroseconds(1500);
delay (500);
VishalServo.writeMicroseconds(1500);
digitalWrite(MotorPin1, LOW);
digitalWrite(MotorPin2, LOW);
delay(5);
}

if (val == 1)
{
Serial.println("Robot is turning left");
digitalWrite(MotorPin2, HIGH);
VishalServo.writeMicroseconds(1500);
delay(500);
VishalServo.writeMicroseconds(1500);
digitalWrite(MotorPin2, LOW);
delay(5);
}

if (val == 3)
{
Serial.println("Robot is turning right");
digitalWrite(MotorPin1, HIGH);
VishalServo.writeMicroseconds(1500);
delay(500);
VishalServo.writeMicroseconds(1500);
digitalWrite(MotorPin1, LOW);
delay(5);
}

if (val == 9)
{
Serial.println("Turning left");
VishalServo.write(i+5);
delay(5);
}

if (val == 7)
{
Serial.println("Turning right");

if (i => 170)
{
delay(5);
}

if(i =< 170)
{
VishalServo.write(i-5);
delay(5);
}
}

if (val == 5)
{
Serial.println("Shoot");
digitalWrite(LedPin1, HIGH);
delay(50);
digitalWrite(LedPin1, LOW);
delay(5);
}

if (val == 8)
{
Serial.println("Centering");
VishalServo.writeMicroseconds(1500);
delay(5);
}

else
{
delay(5);
}
}

And this is the error:

Main_robot.cpp: In function 'void loop()':
Main_robot:79: error: expected primary-expression before '>' token
Main_robot:84: error: expected primary-expression before '<' token

Could you please tell me how to get rid of this error.
Thanks

Are you sure that is your entire program?

By the looks of the error, it is talking about a library called Main_robot, which I do not see included nor refered to in the sketch.

Yes it is my whole program and the smily is "8"

Main_Robot is the name of the file when I saved it...I saved this file as Main Robot...

Ok that makes perfect sense then.

if (i => 170)
  {
    delay(5);
  }
  
  if(i =< 170)
  {
  VishalServo.write(i-5);
  delay(5);
  }

That is the issue.

it should be >= and <=, you have the = sign first, when it should be 2nd in both cases.

Yup that works just fine

Thanks