I need help..I have an assignement on chapter loops which I dont understand..can someone help..
it start
enter number or parts:
enter number of chapters:
beginning part 1
chapter 1
chapter2
chapter3
chapter 4
End part 1
Begin part 2
chapter 1
chapter 2
chapter 3
chapter 4
end part 2
begin part 3
chapter 1
chapter 2
chapter 3
chapter 4
end part 3

how do I get java to do this ??

:rolleyes:

All Hail the javaqueen. What is a chapter loop? This is only a guess, but I say that you are being taught about nested for loops. You should either look in your text book or google "nested for loop" then try to write some code yourself. If you are still stuck(doubtful), post back with a more specific question and I will gladly help you. The problem will seem very simple once you learn about for loops and nested for loops, trust me.

ps. All hail the javaqueen

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.