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: using selection

  1. #1
    Junior Member
    Join Date
    Nov 2019
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb using selection

    Prompt the user to choose an item using the number (1, 2, or 3) that corresponds to the item,
    or enter 0 to quit the application. After the user makes the first selection, if the choice is 0,
    display a bill of RM0.00. Otherwise, display the menu again. The user should respond to this
    prompt with another item number to order or 0 to quit. Display the total that has been
    selected.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: using selection

    What have you tried?
    Be sure to wrap all posted code in code tags.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Moving Selection
    By TripleChickenJumpman in forum What's Wrong With My Code?
    Replies: 7
    Last Post: February 16th, 2014, 07:49 PM
  2. selection sorting help?
    By namenamename in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 2nd, 2013, 05:11 PM
  3. Help with Course Selection
    By randy81 in forum The Cafe
    Replies: 4
    Last Post: August 14th, 2013, 03:51 AM
  4. IDE Selection
    By vinodlondhe in forum Java IDEs
    Replies: 5
    Last Post: January 23rd, 2013, 05:56 AM
  5. Selection Sorting
    By chronoz13 in forum Algorithms & Recursion
    Replies: 5
    Last Post: December 10th, 2009, 11:08 AM