Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 1 of 16 12311 ... LastLast
Threads 1 to 50 of 769

Forum: Loops & Control Statements

for loops, while loops, switch, if-then-else..

  1. Breaking If/Else Statements

    Started by aussiemcgr, August 12th, 2010 10:19 AM
    • Replies: 9
    • Views: 22,485
    August 27th, 2010, 03:28 PM Go to last post
  2. help with loop to print an equliateral asterisk triangle

    Started by everyone0, April 17th, 2010 11:30 AM
    • Replies: 13
    • Views: 20,913
    October 11th, 2012, 12:37 PM Go to last post
  3. Please help! Nested while loops and asterisk triangles!

    Started by rockout341, March 29th, 2011 01:15 PM
    • Replies: 12
    • Views: 18,539
    September 15th, 2011, 11:50 AM Go to last post
  4. User Input Loop

    Started by cfmonster, August 17th, 2009 12:14 AM
    • Replies: 7
    • Views: 15,690
    August 24th, 2009, 01:52 PM Go to last post
  5. Odd Even - For loop

    Started by clevel211, October 11th, 2010 01:15 AM
    • Replies: 2
    • Views: 14,757
    October 11th, 2010, 08:09 PM Go to last post
  6. Nested for loops

    Started by Fordy252, November 1st, 2010 06:54 PM
    • Replies: 2
    • Views: 14,719
    December 8th, 2012, 11:43 PM Go to last post
  7. Limiting Letters in a String

    Started by 0w1, July 22nd, 2013 11:23 AM
    • Replies: 4
    • Views: 14,364
    September 9th, 2013, 05:40 AM Go to last post
  8. Lightbulb Loop Patterns (triangles) [Beginner]

    Started by me1010109, October 24th, 2010 04:11 AM
    • Replies: 2
    • Views: 11,202
    October 24th, 2010, 05:13 PM Go to last post
  9. How to make a program quit?

    Started by copelandtml, February 8th, 2011 04:42 PM
    • Replies: 6
    • Views: 11,141
    February 16th, 2011, 01:10 AM Go to last post
  10. Talking Checkerboard (asterisk pattern) problem

    Started by jjb1989, July 14th, 2012 03:51 PM
    • Replies: 18
    • Views: 11,076
    September 8th, 2013, 08:52 PM Go to last post
  11. Java for loops to count vowels/consonants usinf the logic of the main

    Started by willie lee, April 7th, 2012 09:18 AM
    2 Pages
    1 2
    • Replies: 41
    • Views: 10,692
    June 18th, 2012, 04:01 AM Go to last post
  12. While Loop Exit with String

    Started by Zaroth, November 8th, 2009 01:55 AM
    • Replies: 8
    • Views: 10,435
    November 9th, 2009, 04:20 PM Go to last post
  13. switch with Enums

    Started by chronoz13, October 6th, 2009 10:36 AM
    • Replies: 17
    • Views: 10,177
    October 8th, 2009, 08:08 PM Go to last post
  14. Breaking out of multiple loops

    Started by helloworld922, June 30th, 2009 12:34 PM
    • Replies: 4
    • Views: 9,903
    July 1st, 2009, 02:52 PM Go to last post
  15. Pattern printing in Java

    Started by arunjib, March 10th, 2011 10:15 AM
    arunjib, pattern
    • Replies: 4
    • Views: 9,790
    July 1st, 2011, 04:05 PM Go to last post
    • Replies: 4
    • Views: 9,608
    October 17th, 2010, 06:38 PM Go to last post
  16. Equilateral Triangle Using nested for loop

    Started by uchizenmaru, January 14th, 2010 09:55 AM
    • Replies: 2
    • Views: 9,531
    January 14th, 2010, 10:01 PM Go to last post
  17. Can a for loop work with random number?

    Started by humdinger, January 8th, 2010 10:30 AM
    • Replies: 7
    • Views: 9,525
    January 10th, 2010, 10:06 PM Go to last post
  18. [SOLVED] Number Pyramid Question

    Started by t-rank, October 18th, 2010 12:24 AM
    • Replies: 2
    • Views: 9,155
    December 2nd, 2013, 08:44 AM Go to last post
  19. for loop and while loop problems

    Started by Pulse_Irl, February 11th, 2010 08:43 AM
    • Replies: 4
    • Views: 9,051
    May 3rd, 2010, 02:09 AM Go to last post
  20. help with a loop (pyramid of numbers)

    Started by ande6870, October 7th, 2010 06:57 PM
    • Replies: 2
    • Views: 8,976
    October 7th, 2010, 08:17 PM Go to last post
  21. Start code again?

    Started by mortalc, May 26th, 2010 03:11 PM
    • Replies: 12
    • Views: 8,473
    May 27th, 2010, 07:26 PM Go to last post
  22. need help with Vending Machine code...

    Started by mia_tech, March 6th, 2009 07:14 PM
    • Replies: 3
    • Views: 8,148
    April 20th, 2009, 05:24 AM Go to last post
  23. [SOLVED] Using for loop to calculate sine function (factorial issue)

    Started by Actinistia, March 11th, 2011 03:17 PM
    • Replies: 2
    • Views: 7,803
    March 11th, 2011, 03:38 PM Go to last post
  24. what is charAt(0) ?

    Started by low1988, October 10th, 2009 03:48 AM
    • Replies: 5
    • Views: 7,563
    October 11th, 2009, 10:03 AM Go to last post
  25. Missing Return Statement in If-elseIf-else

    Started by chronoz13, October 12th, 2009 06:38 AM
    • Replies: 2
    • Views: 7,535
    October 12th, 2009, 07:01 AM Go to last post
  26. FLAMES GAME

    Started by arben, August 29th, 2011 12:31 AM
    • Replies: 4
    • Views: 7,465
    January 2nd, 2013, 07:24 AM Go to last post
  27. Smile ASCII Triangle

    Started by physics, March 11th, 2010 06:44 PM
    • Replies: 1
    • Views: 7,367
    March 27th, 2010, 06:39 AM Go to last post
  28. how do i draw a shape with nested loops?

    Started by Kilowog, September 24th, 2009 02:54 PM
    • Replies: 1
    • Views: 6,955
    September 25th, 2009, 12:14 AM Go to last post
  29. While (return value will terminate an iteration or loop?)

    Started by chronoz13, December 25th, 2009 03:25 AM
    • Replies: 3
    • Views: 6,937
    April 27th, 2010, 09:05 AM Go to last post
  30. unreachable statement?

    Started by chronoz13, September 11th, 2009 05:14 AM
    • Replies: 1
    • Views: 6,910
    September 11th, 2009, 10:06 AM Go to last post
  31. hi. i want to rewrite this do loop into a while loop.

    Started by etidd, January 26th, 2010 12:52 AM
    • Replies: 3
    • Views: 6,759
    January 26th, 2010, 05:27 PM Go to last post
    • Replies: 8
    • Views: 6,394
    November 3rd, 2013, 07:38 PM Go to last post
  32. Need a loop for rows and columns

    Started by Ceasar, October 8th, 2009 11:22 PM
    • Replies: 8
    • Views: 6,327
    October 9th, 2009, 05:47 PM Go to last post
    • Replies: 10
    • Views: 6,322
    June 6th, 2014, 12:02 PM Go to last post
  33. Difference ++j and J++

    Started by rayan2004, November 30th, 2012 04:46 AM
    • Replies: 4
    • Views: 6,293
    December 4th, 2012, 01:42 AM Go to last post
  34. Prompt user to repeat

    Started by Callcollect, November 24th, 2011 06:51 AM
    • Replies: 18
    • Views: 6,227
    December 4th, 2011, 07:15 PM Go to last post
  35. Simple encryption/ decryption problem

    Started by searchformeaning, May 6th, 2012 01:08 PM
    • Replies: 2
    • Views: 6,009
    May 7th, 2012, 01:34 AM Go to last post
  36. Programming a power table

    Started by Reynalto, November 16th, 2010 08:02 PM
    • Replies: 3
    • Views: 6,008
    November 16th, 2010, 08:51 PM Go to last post
    • Replies: 9
    • Views: 5,973
    January 27th, 2012, 09:15 PM Go to last post
  37. Lightbulb Help simplifying huge nested if statement?

    Started by racecar333, October 10th, 2011 03:31 PM
    12 hour, 24 hour, if statement, jpb package, nested
    • Replies: 6
    • Views: 5,950
    November 1st, 2011, 01:03 AM Go to last post
  38. What is wrong with my code? JAVA-Eclipse

    Started by bespinoz, March 20th, 2011 06:52 PM
    • Replies: 9
    • Views: 5,893
    November 17th, 2012, 04:06 PM Go to last post
    • Replies: 23
    • Views: 5,862
    February 26th, 2013, 10:53 PM Go to last post
  39. Simple Calculator

    Started by JKDSurfer, March 21st, 2011 06:13 PM
    • Replies: 3
    • Views: 5,840
    June 28th, 2011, 01:37 PM Go to last post
  40. While Loop to divide by 2 continiously

    Started by jahshuwuh, November 22nd, 2012 07:26 PM
    • Replies: 1
    • Views: 5,666
    November 22nd, 2012, 08:13 PM Go to last post
  41. help on simple accumulator

    Started by Khalon, January 14th, 2010 03:54 PM
    • Replies: 2
    • Views: 5,604
    January 14th, 2010, 11:39 PM Go to last post
  42. Unhappy [SOLVED] Switch statement question

    Started by shikh_albelad, May 30th, 2009 09:23 AM
    • Replies: 5
    • Views: 5,597
    May 31st, 2009, 05:13 AM Go to last post

Page 1 of 16 12311 ... LastLast

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 150 views
Hot thread with unread posts
More than 15 replies or 150 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •