Https://ide.codingblocks.com/s/237221

whats wrong in my code plzz comment it out

@Aditya-Kushwaha-914550392281281
Change line 8 and 9 to
for(int i=1,j=1;i<=n;j++){
int m=3*j+2;
your code will work

will u plzz code it i cant get it

@Aditya-Kushwaha-914550392281281
Check this

@Aditya-Kushwaha-914550392281281
If you got the logic, please mark this doubt as resolved.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.