Xbee communication acceelerometer

i want to make accelerometer based robo arm using xbee and two arduino. on as a transmitter and other receiver i am sending data serialy by xbee and want to receiv data for x y and z axis in integer format at receiver site plz help.

int Apin = A0;
int Bpin = A1;
int Cpin = A2;
int A, B, C;

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

void loop()
{
int A = analogRead(Apin);
int B = analogRead(Bpin);
int C = analogRead(Cpin);

Serial.print(A);

Serial.print(",");

Serial.print(B);
Serial.print(",");

Serial.println(C);
delay(4000);
}

Try

Serial.write(A) ;

The code you have on one end does something. You didn't explain what.
The code you have on the other end is missing.

The description of the hardware you are using is missing.
The description of the configuration of that hardware is missing.

The description of the problem(s) you are having is missing.

plz help.

How can we possibly do that?