runs fine on ide , but yields incorrect result in online challenge.
Array spiral print ac
@yashikakhurana00 hey yashika there is no need to print cout statement for enter no of row and columns
and there a space required after every comma and remove if statements if(fcol<lcol) and if(frow<lrow)
It’s still not passing the test cases. Please help me with this updated code https://ide.codingblocks.com/s/97409
hey yashika
you need include the checks using the if statement that( if(frow<lrow) , if(fcol<lcol)) like that before the loop starts
to print the matrix data.
there will be 1 check before the loop starts