SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Member
    Join Date
    Jan 2002
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    can u do this for me??!!! plzz

    Hi everybody

    my teatcher gave me this case to solve it by java script
    the problem is that I don't now how to use this laguage and how to program with it

    can u help me to solve it with all warnning and error messages?

    The case is the folowing:

    Airline Reservation System


    • The plane has 10 seats-5seats in first class and 5 seats in second class
    • You will use an array to represent the plane
    • The program will accept bookings from customers
    • These are the questions that a customer will be asked
    o “Enter your name to make a booking (-1 to finish)”
    o “What class do you want (first or economy)?”
    o “Will you accept a different class if your first choice is full (y or n)”?
    • After customer makes a booking, the program will output a boarding pass if the booking is successful
    • The boarding pass should include
    o Heading ( Boarding Pass)
    o Name
    o Class
    o Seat number
    • If the booking is not successful, the program will output a message saying
    o Sorry, please try the next flight
    • After bookings have finished (-1 has been entered), the program should print out a passenger list. (names in alphabetical order, class, seat number


    plzz if u can do it for me i need it tommorow (on Friday)

    Thanks all

    urs still new
    be cool with every body

  2. #2
    SitePoint Guru
    Join Date
    Jan 2001
    Location
    Alkmaar, Netherlands
    Posts
    710
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    your teacher gave you an assignment in language that you have no idea of?
    Sorry but this is pretty complex project to do in javascript for a new comer(Maybe he meant Java).
    Good luck

  3. #3
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Is this post a joke?

    You were assigned a project in javascript (which you know nothing about) to complete TOMORROW. Add to this that the project absolutely shouldn't be done in javascript due to it's nature - are you sure he didn't mean Java (which you most likely also know nothing about)?
    Last edited by M. Johansson; Oct 22, 2002 at 00:31.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  4. #4
    SitePoint Member
    Join Date
    Jan 2002
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    at first thanks for replay

    I'm student in college but my teacher though that we were studing java scriipt b4

    where some of us have take this course but I'm not one of these

    do it for me if u can

    just try to help me

    by the way I'm buzness student ..

    thanks all
    be cool with every body

  5. #5
    SitePoint Guru
    Join Date
    Jan 2001
    Location
    Alkmaar, Netherlands
    Posts
    710
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    tell him the truth that he should know instead of thinking. And as business student, you should be more initiatief correcting mistakes that makes problems for you.
    My solution to your problem (in php)
    PHP Code:
    If ( $action == "my teacher has a wrong idea" )
        
    correctTeacher();
    else if (
    $action == "I do not know how to do this" )
        
    tellMyTeacher();
    else
        
    dropTheCourse(); 
    Even though it sounds a bit sarcastic, it is only way to find your way out.

    PS: This can be done in javascript, BUT for a new person who has little knowledge of javascript NOWAY

  6. #6
    SitePoint Zealot
    Join Date
    Jul 2002
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: can u do this for me??!!! plzz

    Originally posted by Still New
    plzz if u can do it for me i need it tommorow (on Friday)
    That was good for a laff though

  7. #7
    SitePoint Wizard Bill Posters's Avatar
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure which I find more disturbing.

    (Yet another) IT teacher who doesn't know wtf they are talking about...
    ...or a student who asks someone else to do their work for them.

    Imo, both aspects of the situation are disgraceful.</disdain>


    Still new, if you're gonna get other people to do your homework for you, then the very least you could have done was post it in the Trading Post. I mean, fair's fair.
    New Plastic Arts: Visual Communication | DesignateOnline

    Mate went to NY and all he got me was this lousy signature

  8. #8
    + platinum's Avatar
    Join Date
    Jun 2001
    Location
    Adelaide, Australia
    Posts
    6,441
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hahaha

    I had that exact question in a tutorial last semester
    Enjoy it, although, we only had to theorize about it rather than actually do it...

  9. #9
    SitePoint Member
    Join Date
    Jan 2002
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm the year joke, right ??

    okey thanks all

    I want to explain somthing about teachers okey

    some teachers are teaching like everyone in the class know what he knows???!!!

    we told him that we are not a computer science student then he asked us to learn about java scripts from any books in tha market???!!!

    look dears, some teachers like to show their msulz cross their student to tell their student look I'm the one here and know one like me..

    I think no need to talk more about this

    thanks all for replay

    urs

    Still New
    be cool with every body

  10. #10
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, a lot of teachers are doing this kind of thing. When I was in Singapore, half the class asked me how to create a website, whilst the course was supposed to be about macro-economics.

    I do agree with Bill, "plzz if u can do it for me i need it tommorow" you should of asked how to do it rather than the working code.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •