\* C Program to to Calculate the Sum of first n Natural Numbers *\
# include < stdio.h >
int main( )
{
int n, i, sum=0 ;
printf(" How many natural number you want to calculate : ") ;
scanf("%d ", & n) ;
i = 1 ;
while ( i   <= n ;
{
sum= sum + i ;
i = i + 1 ;
}
printf("\n Sum of Natural Numbers are : ") ;
scanf("%d ", sum) ;
return ( 0 ) ;
}