1059 - Even Numbers

Problem Link


A Solution in c



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





No comments

Theme images by Jason Morrow. Powered by Blogger.