1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[HELP] nested loop

Discussion in 'C' started by Aslan, Jul 7, 2011.

  1. Aslan

    Aslan New Member

    Joined:
    Jun 27, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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...
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    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.
     
  3. ManzZup

    ManzZup New Member

    Joined:
    May 9, 2009
    Messages:
    278
    Likes Received:
    43
    Trophy Points:
    0
    Occupation:
    Production Manager:Software @ ZONTEK
    Location:
    Sri Lanka
    Home Page:
    normally homework is not accepted here
    but you can easily think it on the lines of loops
     

Share This Page