#include <stdio.h>
int main()
{
int i, j=7;
for(i=1;i<=9;i++){
printf("I=%d J=%d\n", i,j);
printf("I=%d J=%d\n", i,j-1);
printf("I=%d J=%d\n", i,j-2);
j+=2;
i++;
}
return 0;
}
int main()
{
int i, j=7;
for(i=1;i<=9;i++){
printf("I=%d J=%d\n", i,j);
printf("I=%d J=%d\n", i,j-1);
printf("I=%d J=%d\n", i,j-2);
j+=2;
i++;
}
return 0;
}
No comments:
Post a Comment