Friday, 26 August 2016

Add Two Integers

Add Two Integers:

#include <stdio.h>
int main()
{
    int Number1, Number2, sumofNumbers;
    printf("Enter two integers: ");
    scanf("%d %d",&Number1, &Number2);
    sumofNumbers = Number1 + Number2;
    printf(" %d",sumofNumbers);

    return 0;

}

0 comments:

Post a Comment

if you have any doubt please let me know