Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ loop

int sum(int N) {
    return N * (N + 1) / 2;
}
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #loop
ADD COMMENT
Topic
Name
9+4 =