Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   [HELP] nested loop (http://www.go4expert.com/forums/help-nested-loop-t26231/)

Aslan 7Jul2011 19:59

[HELP] nested loop
 
Is there any one can solve this one?

input 3

33333
32223
32123
32223
33333

input 5
555555555
544444445
543333345
543222345
543212345
543222345
543333345
544444445
555555555

BEST REGARDS...

xpi0t0s 8Jul2011 11:30

Re: [HELP] nested loop
 
Yep, I can, it's not hard. However I suspect this is in fact your homework, so I'm not going to do it for you. Have a go and see how far you get, then post your code when you get stuck.

ManzZup 8Jul2011 21:12

Re: [HELP] nested loop
 
normally homework is not accepted here
but you can easily think it on the lines of loops


All times are GMT +5.5. The time now is 13:35.