Demo entry 6784688

123

   

Submitted by anonymous on Mar 07, 2019 at 15:05
Language: C++. Code size: 145 Bytes.

#include <stdio.h>
int main(){
    int i, sum=0;
    for(i=1; i<=100; i++){
        sum+=i;
    }
    printf("%d\n",sum);
    return 0;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).