Need Project Help!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • soroushp3
    New Member
    • Sep 2007
    • 2

    #1

    Need Project Help!

    I'm required to develop a small Airline Reservation System using array for my school, which should provide
    the following functions:

    1. Airplane with capacity of 20 seats (1-5 First class and 6-20 economy class).
    2. Allow the customer to book seats by giving choice first class or economy class.
    3. Allow the customer to delete any booking they made previously.
    4. Allow the customer to modify any booking they made previously
    5. On customer request display all empty and reserved seats.
    6. Your system should not assign a seat that has already been assigned.
    7. If economy class is full, your system should ask customer if it is acceptable for him to
    give a seat in first class (and vice versa).
    8. Count how many seat customer book
    9. When customer finish booking, display how many seats he booked and seat numbers.

    i'm wondering if someone can help me with this or if anyone got similar program like this written on java.i'll be looking forward to your replies guys.tanx alot
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Originally posted by soroushp3
    I'm required to develop a small Airline Reservation System using array for my school, which should provide
    the following functions:

    1. Airplane with capacity of 20 seats (1-5 First class and 6-20 economy class).
    2. Allow the customer to book seats by giving choice first class or economy class.
    3. Allow the customer to delete any booking they made previously.
    4. Allow the customer to modify any booking they made previously
    5. On customer request display all empty and reserved seats.
    6. Your system should not assign a seat that has already been assigned.
    7. If economy class is full, your system should ask customer if it is acceptable for him to
    give a seat in first class (and vice versa).
    8. Count how many seat customer book
    9. When customer finish booking, display how many seats he booked and seat numbers.

    i'm wondering if someone can help me with this or if anyone got similar program like this written on java.i'll be looking forward to your replies guys.tanx alot
    Hi soroushp3! Welcome to TSDN!
    Have you read the Posting Guidelines, especially the Homework and Coursework Guidelines? We won't do it for you or give you complete code. I hope, that's not what you were asking for.

    Have you started writing any code yourself? If not, do so and ask here, when you get stuck. If you have, what problem(s) have you encountered?

    Greetings,
    Nepomuk

    Comment

    • soroushp3
      New Member
      • Sep 2007
      • 2

      #3
      Originally posted by nepomuk
      Hi soroushp3! Welcome to TSDN!
      Have you read the Posting Guidelines, especially the Homework and Coursework Guidelines? We won't do it for you or give you complete code. I hope, that's not what you were asking for.

      Have you started writing any code yourself? If not, do so and ask here, when you get stuck. If you have, what problem(s) have you encountered?

      Greetings,
      Nepomuk
      hi buddy!of course not!! i'm jus looking for some samples of air line reservation sys to get some ideas like how to start and etc.
      best regards
      soroosh

      Comment

      • Nepomuk
        Recognized Expert Specialist
        • Aug 2007
        • 3111

        #4
        Originally posted by soroushp3
        hi buddy!of course not!! i'm jus looking for some samples of air line reservation sys to get some ideas like how to start and etc.
        best regards
        soroosh
        OK, I didn't mean to offend you. If so, I'm sorry.

        Let's go through the task together:
        Originally posted by soroushp3
        1. Airplane with capacity of 20 seats (1-5 First class and 6-20 economy class).
        What is an airplane? It's an object, isn't it? An Object, which contains other Objects... Won't say more.
        Originally posted by soroushp3
        2. Allow the customer to book seats by giving choice first class or economy class.
        Hm, something refering to the Airplane... You should be able to access the information from the airplaine, shouldn't you? For asking - check the class Scanner for user input.
        Originally posted by soroushp3
        3. Allow the customer to delete any booking they made previously.
        See above.
        Originally posted by soroushp3
        4. Allow the customer to modify any booking they made previously
        See above.
        Originally posted by soroushp3
        5. On customer request display all empty and reserved seats.
        See above.
        Originally posted by soroushp3
        6. Your system should not assign a seat that has already been assigned.
        See above.
        Originally posted by soroushp3
        7. If economy class is full, your system should ask customer if it is acceptable for him to
        give a seat in first class (and vice versa).
        For checking, see above. For asking, use Scanner.
        Originally posted by soroushp3
        8. Count how many seat customer book
        Hm, a history of what you've done... A Vector or HashMap may be helpfull here.
        Originally posted by soroushp3
        9. When customer finish booking, display how many seats he booked and seat numbers.
        Use the history from Point 8.

        Now, think about how you would code those ideas.

        Greetings,
        Nepomuk

        Comment

        • kreagan
          New Member
          • Aug 2007
          • 153

          #5
          Originally posted by soroushp3
          I'm required to develop a small Airline Reservation System using array for my school, which should provide
          the following functions:

          1. Airplane with capacity of 20 seats (1-5 First class and 6-20 economy class).
          2. Allow the customer to book seats by giving choice first class or economy class.
          3. Allow the customer to delete any booking they made previously.
          4. Allow the customer to modify any booking they made previously
          5. On customer request display all empty and reserved seats.
          6. Your system should not assign a seat that has already been assigned.
          7. If economy class is full, your system should ask customer if it is acceptable for him to
          give a seat in first class (and vice versa).
          8. Count how many seat customer book
          9. When customer finish booking, display how many seats he booked and seat numbers.

          i'm wondering if someone can help me with this or if anyone got similar program like this written on java.i'll be looking forward to your replies guys.tanx alot
          Draw pictures of the objects and what they can contain before thinking about code.

          Comment

          • sateesht
            New Member
            • Apr 2007
            • 41

            #6
            Would you like to develop the Project using AWT/Swings or JSP/Servlets ??

            If u want to develop this with AWT then design a home page using the JBuilder Editor, if u use this Editor u need not to write the single line of code u've to only design the page.

            If u want to develop this with JSP/Servlets, u've to use the JSP as a Home Page and moreover for this u've to use a Web/Application Server to deploy this .

            So go Ahead. ALL THE BEST.

            Cheers,
            Sateesh.

            Comment

            • sateesht
              New Member
              • Apr 2007
              • 41

              #7
              Would you like to develop the Project using AWT/Swings or JSP/Servlets ??

              If u want to develop this with AWT then design a home page using the JBuilder Editor, if u use this Editor u need not to write the single line of code u've to only design the page.

              If u want to develop this with JSP/Servlets, u've to use the JSP as a Home Page and moreover for this u've to use a Web/Application Server to deploy this .

              So go Ahead. ALL THE BEST.

              Cheers,
              Sateesh.

              Comment

              • Nepomuk
                Recognized Expert Specialist
                • Aug 2007
                • 3111

                #8
                Originally posted by sateesht
                Would you like to develop the Project using AWT/Swings or JSP/Servlets ??

                If u want to develop this with AWT then design a home page using the JBuilder Editor, if u use this Editor u need not to write the single line of code u've to only design the page.

                If u want to develop this with JSP/Servlets, u've to use the JSP as a Home Page and moreover for this u've to use a Web/Application Server to deploy this .

                So go Ahead. ALL THE BEST.

                Cheers,
                Sateesh.
                That would just draw a picture of the airplane, am I right? But that's not what the OP is trying to do! He will certainly have to write code (and even if he didn't, it would be a good idea, as he should understand his result).

                Greetings,
                Nepomuk

                Comment

                • sateesht
                  New Member
                  • Apr 2007
                  • 41

                  #9
                  Originally posted by nepomuk
                  That would just draw a picture of the airplane, am I right? But that's not what the OP is trying to do! He will certainly have to write code (and even if he didn't, it would be a good idea, as he should understand his result).

                  Greetings,
                  Nepomuk

                  Yeah u r right, he should have an idea how to develop the project. I have given an idea in how many ways we can implement this project.


                  Cheers,
                  Sateesh.

                  Comment

                  Working...