Sunday, June 19, 2016

SOLUTION OF URI 1095


// 1095   (Mahmud_Jamil) BRUR
//  Sequence IJ 1



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




0 comments:

Post a Comment