#include <stdio.h>
void add();
int main()
{
    add();
    return(0);
}    
    void add()
{
    int n1,n2,result;
    printf("enter any 2 numbers\n");
    scanf("%d%d",&n1,&n2);
    result=n1+n2;
    printf("sum of two numbers is %d\n",result);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: