C program for sum of even numbers from 1 to 100









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




Alogrithm:
**




3 comments:

security code said...

great work.

emraan said...

really good coding :)

Anonymous said...

not showing sum..