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.

Results 1 to 2 of 2

Thread: Understanding how to make a countdown

  1. #1
    Junior Member
    Join Date
    Oct 2018
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Understanding how to make a countdown

    Problem: Write a method countdownFor that prints a countdown from 10 to 1 using a for loop. Only one System.out.println statement should be present in your program, and no use of while is allowed. The method should contain only 3 semicolons: two in the for loop declaration parentheses and one inside the loop body. The method has no parameters and returns no value.

  2. #2
    Member
    Join Date
    Sep 2018
    Location
    Virginia
    Posts
    284
    My Mood
    Cool
    Thanks
    0
    Thanked 38 Times in 36 Posts

    Default Re: Understanding how to make a countdown

    Where is your code? What problems are you having?

    Regards,
    Jim

Similar Threads

  1. HELP ABOUT [COUNTDOWN] OR [TIMER] using GUI.
    By javados in forum AWT / Java Swing
    Replies: 12
    Last Post: September 29th, 2014, 09:11 PM
  2. about countdown timer and jcombobox need help please
    By javados in forum AWT / Java Swing
    Replies: 12
    Last Post: September 29th, 2014, 07:16 AM
  3. [SOLVED] Create A Countdown In Java
    By Nemesis89 in forum Java Theory & Questions
    Replies: 15
    Last Post: February 28th, 2014, 07:56 AM
  4. Replies: 10
    Last Post: October 20th, 2013, 06:35 AM
  5. Countdown timer
    By AANZ in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 1st, 2013, 07:46 AM