Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

the sum for numbers in c

#include <stdio.h>

void main (){

int i = 0  , s  =0 ;
while (i<=10){
s  = s + i ;
i++ ;
}
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #sum #numbers
ADD COMMENT
Topic
Name
2+7 =