Friday, August 26, 2016

uri- 1095 - Sequence IJ 1

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

No comments: