URI / BEE CROWD 1096 - Sequence IJ 2 Solution in C,C++,Python | URI - BEECROWD - BEE 1096 Solution in C,C++,Python
beecrowd | 1096
Sequence IJ 2
Adapted by Neilor Tonin, URI Brazil
Timelimit: 1Adapted by Neilor Tonin, URI Brazil
URI / BEE CROWD 1096 - Sequence IJ 2 Solution in C,C++,Python | URI - BEECROWD - BEE 1096 Solution in C,C++,Python:
Make a program that prints the sequence like the following example.
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 1096 Solution in C :
URI / BEECROWD Online Judge 1096 Solve in C : |
#include <stdio.h>
int main()
{
int I,J;
for(I=1;I<=9;I=I+2)
{
for(J=7;J>=5;J--)
printf ("I=%d J=%d\n",I,J);
}
return 0;
}
Thank you for your work sir . you helped me alot
ReplyDeleteWelcome ❤️ also thanks for Supporting me 😇
ReplyDelete