Sunday, June 19, 2016

SOLUTION OF URI 1097


//  1097   (Mahmud_Jamil) BRUR
//   Sequence IJ 3


#include <stdio.h>
int main()
{
 int i=1,j=7;
 while(i<=9){
 printf("I=%d J=%d\n",i,j--);
 printf("I=%d J=%d\n",i,j--);
 printf("I=%d J=%d\n",i,j--);
 i+=2;
 j+=5;
 }
 return 0;
}







0 comments:

Post a Comment