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 14 12311 ... LastLast
Threads 1 to 50 of 690

Forum: Loops & Control Statements

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

  1. Breaking If/Else Statements

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

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

    Started by rockout341, March 29th, 2011 02:15 PM
    • Replies: 12
    • Views: 15,690
    September 15th, 2011, 12:50 PM Go to last post
  4. Nested for loops

    Started by Fordy252, November 1st, 2010 07:54 PM
    • Replies: 2
    • Views: 11,863
    December 8th, 2012, 11:43 PM Go to last post
  5. User Input Loop

    Started by cfmonster, August 17th, 2009 01:14 AM
    • Replies: 7
    • Views: 10,880
    August 24th, 2009, 02:52 PM Go to last post
  6. Odd Even - For loop

    Started by clevel211, October 11th, 2010 02:15 AM
    • Replies: 2
    • Views: 10,395
    October 11th, 2010, 09:09 PM Go to last post
  7. Lightbulb Loop Patterns (triangles) [Beginner]

    Started by me1010109, October 24th, 2010 05:11 AM
    • Replies: 2
    • Views: 9,540
    October 24th, 2010, 06:13 PM Go to last post
  8. Breaking out of multiple loops

    Started by helloworld922, June 30th, 2009 01:34 PM
    • Replies: 4
    • Views: 8,534
    July 1st, 2009, 03:52 PM Go to last post
  9. While Loop Exit with String

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

    Started by chronoz13, October 6th, 2009 11:36 AM
    • Replies: 17
    • Views: 7,994
    October 8th, 2009, 09:08 PM Go to last post
  11. Equilateral Triangle Using nested for loop

    Started by uchizenmaru, January 14th, 2010 09:55 AM
    • Replies: 2
    • Views: 7,733
    January 14th, 2010, 10:01 PM Go to last post
  12. help with a loop (pyramid of numbers)

    Started by ande6870, October 7th, 2010 07:57 PM
    • Replies: 2
    • Views: 7,688
    October 7th, 2010, 09:17 PM Go to last post
  13. Can a for loop work with random number?

    Started by humdinger, January 8th, 2010 10:30 AM
    • Replies: 7
    • Views: 7,616
    January 10th, 2010, 10:06 PM Go to last post
  14. How to make a program quit?

    Started by copelandtml, February 8th, 2011 04:42 PM
    • Replies: 6
    • Views: 7,578
    February 16th, 2011, 01:10 AM Go to last post
  15. for loop and while loop problems

    Started by Pulse_Irl, February 11th, 2010 08:43 AM
    • Replies: 4
    • Views: 7,238
    May 3rd, 2010, 03:09 AM Go to last post
    • Replies: 4
    • Views: 7,231
    October 17th, 2010, 07:38 PM Go to last post
  16. [SOLVED] Number Pyramid Question

    Started by t-rank, October 18th, 2010 01:24 AM
    • Replies: 2
    • Views: 7,131
    December 2nd, 2013, 08:44 AM Go to last post
  17. Java for loops to count vowels/consonants usinf the logic of the main

    Started by willie lee, April 7th, 2012 10:18 AM
    2 Pages
    1 2
    • Replies: 41
    • Views: 7,071
    June 18th, 2012, 05:01 AM Go to last post
  18. what is charAt(0) ?

    Started by low1988, October 10th, 2009 04:48 AM
    • Replies: 5
    • Views: 6,445
    October 11th, 2009, 11:03 AM Go to last post
  19. need help with Vending Machine code...

    Started by mia_tech, March 6th, 2009 07:14 PM
    • Replies: 3
    • Views: 6,259
    April 20th, 2009, 06:24 AM Go to last post
  20. Talking Checkerboard (asterisk pattern) problem

    Started by jjb1989, July 14th, 2012 04:51 PM
    • Replies: 18
    • Views: 5,933
    September 8th, 2013, 09:52 PM Go to last post
  21. Missing Return Statement in If-elseIf-else

    Started by chronoz13, October 12th, 2009 07:38 AM
    • Replies: 2
    • Views: 5,841
    October 12th, 2009, 08:01 AM Go to last post
  22. While (return value will terminate an iteration or loop?)

    Started by chronoz13, December 25th, 2009 03:25 AM
    • Replies: 3
    • Views: 5,689
    April 27th, 2010, 10:05 AM Go to last post
  23. Start code again?

    Started by mortalc, May 26th, 2010 04:11 PM
    • Replies: 12
    • Views: 5,683
    May 27th, 2010, 08:26 PM Go to last post
  24. unreachable statement?

    Started by chronoz13, September 11th, 2009 06:14 AM
    • Replies: 1
    • Views: 5,663
    September 11th, 2009, 11:06 AM Go to last post
  25. Pattern printing in Java

    Started by arunjib, March 10th, 2011 10:15 AM
    arunjib, pattern
    • Replies: 4
    • Views: 5,626
    July 1st, 2011, 05:05 PM Go to last post
  26. [SOLVED] Using for loop to calculate sine function (factorial issue)

    Started by Actinistia, March 11th, 2011 03:17 PM
    • Replies: 2
    • Views: 4,999
    March 11th, 2011, 03:38 PM Go to last post
  27. Need a loop for rows and columns

    Started by Ceasar, October 9th, 2009 12:22 AM
    • Replies: 8
    • Views: 4,852
    October 9th, 2009, 06:47 PM Go to last post
  28. how do i draw a shape with nested loops?

    Started by Kilowog, September 24th, 2009 03:54 PM
    • Replies: 1
    • Views: 4,761
    September 25th, 2009, 01:14 AM Go to last post
  29. FLAMES GAME

    Started by arben, August 29th, 2011 01:31 AM
    • Replies: 4
    • Views: 4,689
    January 2nd, 2013, 07:24 AM Go to last post
  30. help on simple accumulator

    Started by Khalon, January 14th, 2010 03:54 PM
    • Replies: 2
    • Views: 4,593
    January 14th, 2010, 11:39 PM Go to last post
  31. Smile ASCII Triangle

    Started by physics, March 11th, 2010 06:44 PM
    • Replies: 1
    • Views: 4,467
    March 27th, 2010, 07:39 AM Go to last post
  32. What is wrong with my code? JAVA-Eclipse

    Started by bespinoz, March 20th, 2011 07:52 PM
    • Replies: 9
    • Views: 4,426
    November 17th, 2012, 04:06 PM Go to last post
  33. Unhappy [SOLVED] Switch statement question

    Started by shikh_albelad, May 30th, 2009 10:23 AM
    • Replies: 5
    • Views: 4,065
    May 31st, 2009, 06:13 AM Go to last post
  34. Return from incrementing for loop?

    Started by mindlessn00b, October 3rd, 2010 03:22 PM
    • Replies: 16
    • Views: 4,002
    October 4th, 2010, 01:15 PM Go to last post
  35. Simple Calculator

    Started by JKDSurfer, March 21st, 2011 07:13 PM
    • Replies: 3
    • Views: 3,916
    June 28th, 2011, 02:37 PM Go to last post
  36. Minimum value of objects in ArrayList

    Started by Sputnik, October 23rd, 2010 03:54 AM
    • Replies: 2
    • Views: 3,910
    October 23rd, 2010, 02:20 PM Go to last post
  37. loop and a half

    Started by Brain_Child, November 21st, 2009 07:12 AM
    • Replies: 2
    • Views: 3,695
    January 22nd, 2010, 03:52 AM Go to last post
  38. Simple encryption/ decryption problem

    Started by searchformeaning, May 6th, 2012 02:08 PM
    • Replies: 2
    • Views: 3,590
    May 7th, 2012, 02:34 AM Go to last post
  39. Array with Switch Construct

    Started by WhiteSoup12, February 6th, 2011 12:06 AM
    • Replies: 4
    • Views: 3,581
    February 7th, 2011, 01:41 AM Go to last post
  40. Counting Words in a File with a Loop

    Started by bengregg, February 7th, 2011 10:52 PM
    • Replies: 17
    • Views: 3,324
    February 11th, 2011, 10:11 AM Go to last post
  41. Monte Carlo Method

    Started by KiwiFlan, July 22nd, 2010 02:06 PM
    • Replies: 2
    • Views: 3,292
    July 22nd, 2010, 08:47 PM Go to last post
  42. Cool help with the logic on this letter grade program.

    Started by etidd, January 28th, 2010 09:03 PM
    • Replies: 2
    • Views: 3,247
    January 28th, 2010, 09:14 PM Go to last post
  43. hi. i want to rewrite this do loop into a while loop.

    Started by etidd, January 26th, 2010 12:52 AM
    • Replies: 3
    • Views: 3,245
    January 26th, 2010, 05:27 PM Go to last post
    • Replies: 11
    • Views: 3,217
    October 3rd, 2011, 01:54 PM Go to last post
  44. Java Do..while loop problem

    Started by jwill22, November 10th, 2010 01:02 AM
    java, loop
    • Replies: 4
    • Views: 3,210
    November 13th, 2010, 04:02 AM Go to last post
  45. [SOLVED] For loop-ing decimal format

    Started by Harj, October 1st, 2010 09:40 AM
    decimal places, decimalformat, for loop, help needed
    • Replies: 10
    • Views: 3,172
    October 1st, 2010, 06:47 PM Go to last post
  46. Programming a power table

    Started by Reynalto, November 16th, 2010 08:02 PM
    • Replies: 3
    • Views: 3,167
    November 16th, 2010, 08:51 PM Go to last post

Page 1 of 14 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
  •