iForeRunner
 
   
 
  c  
   
   
   
 
  SUM OF TWO NUMBERS  
 
 



Sum of 2 Numbers Program




/*to print the sum of 2 number*/

main()
{

int a,b,c;
clrscr();
printf("\nEnter 2 values");
scanf("%d%d",&a,&b);
printf("\nSum is %d",a+b); /*without using 3rd variable*/
c=a+b;
printf("\nThe sum of %d and %d is %d",a,b,c);
getch();
}

Please send comments to vgdarur.javafive@blogger.com