C Programming
Computer Programming

Program in c to Add two numbers



Write a Program in c to Add two numbers

\* C Program to Add two numbers *\

# include < stdio.h >
int   main( )
{

int   a, b, sum ;
printf(" Enter the First Number : ") ;
scanf("%d", & a) ;
printf("\n Enter the Second Number : ") ;
scanf("%d", & b) ;
sum = a + b ;
printf("\n Sum of two Number : %d",sum) ;
return ( 0 );

}

Output of Program:

Program in c to Print Integer enter by user