Y is this happening?

I have attached a picture of how i've connected the pot and the lm35. i have connected the positive terminal of the lm35 to pin no 3 and also made it high in the program. I have done this because there is only one +5v on the board. Other connections are as usual.
this is my coding:

void setup()
{
Serial.begin(9600);
pinMode(3,OUTPUT);
digitalWrite(3, HIGH);
pinMode(0,INPUT);
pinMode(3,INPUT);
}

void loop()
{
delay(500);
int i=analogRead(0);
int j=analogRead(3);
float k=(j5.0100.0)/1024.0;
Serial.println(i);
Serial.println(k);
}