Sunday, March 20, 2016

URI 1095 - Sequence IJ 1

#include<stdio.h>
main()
{
    int i ,J;
    for(J=60,i=1; J>=0,i<=37; J=J-5,i=i+3){
        printf("I=%d ",i);
        printf("J=%d\n",J);
    }

}

No comments:

Post a Comment