URI / BEE CROWD 1097 - Sequence IJ 3 Solution in C,C++,Python | URI - BEECROWD - BEE 1097 Solution in C,C++,Python
beecrowd | 1097
Sequence IJ 3
Adapted by Neilor Tonin, URI Brazil
Timelimit: 1Adapted by Neilor Tonin, URI Brazil
URI / BEE CROWD 1097 - Sequence IJ 3 Solution in C,C++,Python | URI - BEECROWD - BEE 1097 Solution in C,C++,Python :
Make a program that prints the sequence like the following exemple.
Input
This problem doesn't have input.
Output
Print the sequence like the example below.
Input Sample | Output Sample |
I=1 J=7 |
Demonstration:
URI / BEE 1097 Solution in C :
URI / BEECROWD Online Judge 1097 Solve in C : |
#include <stdio.h>
int main()
{
int I,J;
for(I=1;I<=9;I=I+2)
{
for(J=6+I;J>3+I;J--)
printf ("I=%d J=%d\n",I,J);
}
return 0;
}
0 Response to URI / BEE CROWD 1097 - Sequence IJ 3 Solution in C,C++,Python | URI - BEECROWD - BEE 1097 Solution in C,C++,Python
Post a Comment