Write a program to add two numbers.

#include <stdio.h>
#include <conio.h>
void main () 
    {
        int first, second;
        printf("Enter two integers to add:")
        scanf("%d%d", &first, &second);
        int sum=first+second;
        printf("Sum of entered number=%d", sum);
        getch();
    }

Leave a Reply

Your email address will not be published. Required fields are marked *