Program To Add Two Integer

#include <stdio.h>
int main()
{
    int firstno, secondno, sumofno;

    printf("Enter the first integers: ");

    scanf("%d", &firstno);

    printf("Enter the second integers: ");

    scanf("%d", &secondno);


    sumofno = firstno + secondno;

    printf("%d + %d = %d", firstno, secondno, sumofno);

    return 0;
}




OUTPUT:
Enter the first integers:12
Enter the second integers:12
12 + 12 = 24


For Other Programs Visit The WebSite:-   https://www.techapurba.com/


Follow Me On Social Media :-

For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/

Post a Comment

0 Comments