Trouble Shooting Arduino Errors

I am running the following code and getting the errors shown below the code but am unsure as to why these errors are happening.

Arduino Code:

int AccelXValue = 0;
  int AccelYValue = 0;
  int AccelZValue = 0;
  float Vector[3] = {0.0, 0.0, 0.0};

void setup() {
  Serial.begin(9600);
}

void loop() {
 
int GetAccelXValue(AccelXValue)
{
if (AccelXValue == 0) {
return (float) 1.1;}
}

int GetAccelYValue(AccelYValue){ 
if (AccelYValue == 0){
  return (float) 2.2;}}
  
int GetAccelZValue(AccelZValue){  
if (AccelZValue == 0) {
  return (float) 3.3;}}

  AccelXValue = GetAccelXValue();
  AccelYValue = GetAccelYValue();
  AccelZValue = GetAccelZValue();
  
float X = AccelXValue * AccelXValue;
float Y = AccelYValue * AccelYValue;
float Z = AccelZValue * AccelZValue;
 
float magnitude = X + Y + Z;

float A = AccelXValue/magnitude;
float B = AccelYValue/magnitude;
float C = AccelZValue/magnitude;

Vector = [A, B, C];

Serial.println(Vector);
delay(500);
}

errors given:

Part_2_2_2.ino: In function ‘void loop()’:
Part_2_2_2:13: error: expected ‘,’ or ‘;’ before ‘{’ token
Part_2_2_2:44: error: expected `}’ at end of input

I can not figure out why I am getting these errors. If anyone knows of a solution that would be great.

thank you

Moderator edit:
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags added.

This code can compile :

int AccelXValue = 0;
int AccelYValue = 0;
int AccelZValue = 0;
float Vector[3] = {
  0.0, 0.0, 0.0};

void setup() {
  Serial.begin(9600);
}

void loop() {
}

int GetAccelXValue(int AccelXValue){
  if (AccelXValue == 0) {
    return (float) 1.1; // this is float  should be int.
  }else{
     return 0; // or some int
}
}

You omit final bracket in loop and
int GetAccelXValue(int AccelXValue) did not have data type for AccelXValue parametar.

It looks like you are putting function definitions inside of loop(). I don't think the compiler likes that.