This is a simple program to find out the sum of two numbers in C Program.
Hope it will help you!
//write a program to find sum of two numbers
#include<stdio.h>
#include<conio.h>
void main(){
int a,b,c;
//clrscr();
printf("Enter Two Values");
scanf("%d%d",&a,&b);
c=a+b;
printf("the sum of a and b is %d",c);
}