Jump to content



Recent Status Updates

View All Updates
Photo
- - - - -

Nested For Loop [EXAMPLES!]

nested loop for loop loop

  • Please log in to reply
88 replies to this topic

#85 Ritwik I the programmer

Ritwik I the programmer

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 161 posts
  • Programming Language:Java
  • Learning:Java, C++, Python

Posted 07 March 2013 - 06:45 PM

 

lespauled

Posted 07 March 2013 - 07:29 PM

You people may think you're helping the person by giving them the code, but in fact, you are hindering them.  If a person learns something, it stays with them.  If they are handed something, they learn nothing.

 

This is why I try not to give people the complete code.  I might give them something close, and have them figure out the rest.  Or, if they have something working, I may show them another way. But I do my best to help, not hinder.

Point Taken.


Edited by Ritwik I the programmer, 12 March 2013 - 03:29 AM.

1.Make it simple 2.Make it simple 3.Make it simple 4.make it simple 5. ............


#86 GokulBalaji

GokulBalaji

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 13 April 2013 - 09:05 AM

hi,

i need an o/p

1

23

456

78910



#87 lespauled

lespauled

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 840 posts
  • Programming Language:C, C++, C#, JavaScript, PL/SQL, Delphi/Object Pascal, Visual Basic .NET, Pascal, Transact-SQL, Bash

Posted 13 April 2013 - 09:45 AM

Look for the pattern. Think if it in rows and columns. What would the pattern be?

Maybe the number of items per row has some meaning in the program.
My Blog: http://forum.codecal...699-blog-77241/
"Women and Music: I'm always amazed by other people's choices." - David Lee Roth

#88 BrennanHacks

BrennanHacks

    CC Lurker

  • New Member
  • Pip
  • 3 posts
  • Programming Language:Java
  • Learning:Java

Posted 17 April 2013 - 03:13 PM

I have an ISU (Independent Study Unit) project.........anyone has any ideas ?

A project must include array, loop, while loop, do while loop..........So, anyone has an idea what should i do in this project ???



#89 lespauled

lespauled

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 840 posts
  • Programming Language:C, C++, C#, JavaScript, PL/SQL, Delphi/Object Pascal, Visual Basic .NET, Pascal, Transact-SQL, Bash

Posted 18 April 2013 - 05:26 AM

Do something that interests you. If you like movies, make a quick movie list program that shows the current movies. Just pick something you like.
My Blog: http://forum.codecal...699-blog-77241/
"Women and Music: I'm always amazed by other people's choices." - David Lee Roth







Also tagged with one or more of these keywords: nested loop, for loop, loop