i want write program to calculate billion number but when i input a lot of number my program will show negative number :confused:
this my code
why don't work?Code:int main()
{
double long a,b,c;
scanf ("%d",&a);
scanf ("%d",&b);
c=a+b;
printf("%d",c);
getch();
}
plz help me :eek:
ps.sorry my eng is not strong.
