控制流 / 条件语句 / if/else 语句

var
  Latitude: Integer;
  Location: string;
begin
  Latitude := 90;

  if Latitude = 0 then
    Location := 'Equator'
  else if Latitude = 90 then
    Location := 'north Pole'
  else if Latitude = -90 then
    Location := 'south Pole'
  else
    Location := 'not at the Equator or Pole';

  WriteLn(Location);
end.