Advertisement
matheusfreitag

1097

Jan 2nd, 2015
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4.  
  5. int main (){
  6.  
  7.    
  8.     int i, j=7;
  9.    
  10.     for (i=1; i<=9;i=i+2){
  11.         printf ("I=%d J=%d\n", i, j);
  12.         printf ("I=%d J=%d\n", i, (j-1));
  13.         printf ("I=%d J=%d\n", i, (j-2));  
  14.         j = j+2;
  15.     }
  16.    
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement