Subj : Re: Newbie help again To : borland.public.cpp.borlandcpp From : Richard Hartman Date : Fri Jul 30 2004 11:21 am Nick -- you are still missing a couple of semicolons. Nick Knopf wrote: >I tried that, but I got even another error. These are the errors I'm >getting: > >Error E2141 integertest.c 9: Declaration syntax error in function main >Error E2379 integertest.c 12: Statement missing ; in function main >Warning W8004 integertest.c 15: 'd' is assigned a value that is never >used in function main > >Here is my int main: > > int a, b, c, d > > printf("Input 3 numbers"); > scanf("%d%d%d", &a, &b, &c); > d = a + b + c > printf( "Sum is %d", d); > > return 0; .