/* Program 3-6 */

/* This program adds two integer values and displays
   the results                                         */

main ()
{
 /* Declare variables */
 int value1, value2, sum;

 /* Assign values and compute the result */
 printf ("please enter the first  number:  ");
 scanf ("%d", &value1);
 printf ("please enter the second number:  ");
 scanf ("%d", &value2); 
 sum = value1 + value2;

 /* Display the results */
 printf ("The sum of %d and %d is %d\n", value1, value2, sum);
}



/* Program Output

The sum of 50 and 25 is 75

*/
