URI Online Judge Solution 1075 - Solution in C






Solution in C

#include <stdio.h>
int main()
{
    int N,a;
    scanf("%d",&N);
    for(a=2;a<=10000;a=a+N)
{
        printf ("%d\n",a);
    }
    return 0;
}







~~~~~~Happy Coding~~~~~~

No comments

Powered by Blogger.