the first time program help me please

int x=22;
int y=22;
int w=0;
void setup()
{
serial.begin(9600);
w=x+y;
serial.println(w);
}

error
'serial' was not declared in this scope

please explain me ?? why error ?

C is case-sensitive. It's actually spelled "Serial".

...and "code tags" are spelled [code][/code]

Like this:

MorganS:
C is case-sensitive. It's actually spelled "Serial".

THANKS MY PROBLEM SOULOTIOM

why is compiler correct the error esspaly
case sensitive

I don't know what you mean. Try spelling correctly and then we can both understand. If you are asking a question, use a question mark (?) at the end of the question.