Why such anamolity | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why such anamolity

I know how to solve this,i want to solve this way... please explain what is the issue

20th Jul 2022, 4:20 AM
ANIK
ANIK - avatar
2 Answers
0
i know that but is it posibble to this by updating at the end of the loops
20th Jul 2022, 4:37 AM
ANIK
ANIK - avatar
0
#include <stdio.h> int main() { int I,J,x=7; int five=5; for(I=1;I<=9;I=I+2) { for(J=x;J>=(five);J--){ printf("I=%d J=%d\n",I,J); } x=J+1+4; five+=2; } return 0; } //i got the answer thanks
20th Jul 2022, 5:34 AM
ANIK
ANIK - avatar