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 3 of 3 FirstFirst 123
Results 51 to 52 of 52

Thread: car rental (project)

  1. #51
    Junior Member
    Join Date
    Feb 2018
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: car rental (project)

    is it possible that instead of using the while loop to make it go back to step 1 is it possible to use the switch case

  2. #52
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: car rental (project)

    make it go back to step 1
    That is normally done with a loop. The while loop is the best choice.
    If you don't understand my answer, don't ignore it, ask a question.

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Rental Management System
    By Yigs in forum What's Wrong With My Code?
    Replies: 2
    Last Post: October 1st, 2014, 04:40 AM
  2. car racing project
    By mike416 in forum AWT / Java Swing
    Replies: 3
    Last Post: August 16th, 2013, 10:29 PM
  3. Working on a Car Rental Program and need to finish by Tonight!!
    By alexsport93 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 13th, 2012, 11:08 PM
  4. The car/vehicle application will be responsible for providing a car simulation.
    By vikasreddy556 in forum What's Wrong With My Code?
    Replies: 13
    Last Post: June 20th, 2011, 01:32 AM