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 17 of 17

Thread: Laugh parking garage

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Laugh parking garage

    The laughs parking garage contains a single lane that hold up to ten cars. Cars arrive at the south end of the garage and leave from the north end. If a customer arrives to pick up a car that is not northernmost, all the cars to the north of his car are moved out, his car is driven out, and the others cars are restored in the same order that they were in originally. Whenever a car leaves, all the cars to the south are moved forward. So that at all the times all the empty spaces are in the south part of the garage.
    Write a Java program to reads a group of input lines. Each line contains an a arrival or a d departure and a license plate number. Cars are assumed to arrive and depart in the order specified by the input. The program should print a message each time that a car arrives or departs. When a car arrives, the massage should specify whether or not there is room for the car in garage. If there is no room for a car, the car waits until there is room or until a departure line is read for the car. When room becomes available, another massage should be printed. When a car departs, the massage should include the number of times the car was moved within the garage (including the departure itself but not the arrival), this number is 0 if the car departs from the waiting line.

    Note:
    Your documentation should include pseudo code, source code, test data and expected outputs for garage activities.


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Laugh parking garage

    Could you post your code, as well as ask a specific question(s) about what you're having problems with?

  3. #3
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 286 Times in 225 Posts
    Blog Entries
    4

    Default Re: Laugh parking garage

    Welcome to the forums madhusanka.

    Just to make you aware, we are not a homework service. We will not attempt to complete your assignments for you.

    We are on the other hand here to help. In order to get the best out of these forums, and our members, please make as much effort as possible to start and complete your assignment. When you get stuck, post your code, show us what you are stuck on and we will help you move forward. The more effort you make, the more success you will have.

    Please remember that this community is maintained by volunteers and people who give up their time for free. You need to make us want to help you and this isn't the way to do it.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

  4. #4
    Junior Member
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Laugh parking garage

    Quote Originally Posted by helloworld922 View Post
    Could you post your code, as well as ask a specific question(s) about what you're having problems with?
    I dont have a code. I will be very grateful for you if you could write some basic code down so I can carry out the remainder of the work. Also I want to know what is the psedo code and how to write it?

  5. #5
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,966
    My Mood
    Hungover
    Thanks
    133
    Thanked 553 Times in 474 Posts

    Default Re: Laugh parking garage

    Quote Originally Posted by madhusanka View Post
    I dont have a code. I will be very grateful for you if you could write some basic code down so I can carry out the remainder of the work. Also I want to know what is the psedo code and how to write it?
    That's not how this works. We can't write the code for you. Where are you stuck? Break your problem up into smaller pieces. Break those pieces up into even smaller pieces. Start with the very next, smallest thing you have to do next. If you haven't opened up a text editor or IDE, that's a solid place to start. So is writing some pseudocode (google is your friend).

    Write out in English (or whatever language you speak) the steps you have to do. When you have that done, you should have an algorithm that should be pretty easily translated into code.

    I recommend you check out the link in my signature on asking smart questions, as well as this: Starting Writing a Program
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. #6
    Junior Member
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Laugh parking garage

    Quote Originally Posted by KevinWorkman View Post
    That's not how this works. We can't write the code for you. Where are you stuck? Break your problem up into smaller pieces. Break those pieces up into even smaller pieces. Start with the very next, smallest thing you have to do next. If you haven't opened up a text editor or IDE, that's a solid place to start. So is writing some pseudocode (google is your friend).

    Write out in English (or whatever language you speak) the steps you have to do. When you have that done, you should have an algorithm that should be pretty easily translated into code.

    I recommend you check out the link in my signature on asking smart questions, as well as this: Starting Writing a Program
    Thanks for every detail very much for you. Very sorry for any inconvenieced caused by me

  7. #7
    Junior Member
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Laugh parking garage

    Quote Originally Posted by madhusanka View Post
    Thanks for every detail very much for you. Very sorry for any inconvenieced caused by me
    My code is this but I have some problems when compiling it. What are they and how to solve it?

    import java.util.*;
    //VehicleStack class
     
    class VehicleStack {
     
    Stack<Vehicle> vehicleStack;
    public VehicleStack()
    {
    vehicleStack = new Stack<Vehicle>();
    }
    public boolean pushVehicle(Vehicle vehicle)
    {
    if(vehicleStack.size()<10)
    {
    vehicleStack.push(vehicle);
    return true;
    }
    else
    {
    return false;
    }
     
    }
    public boolean popVehicle(String licensePlateNo)
    {
    int i = 0;
    for(i=0;i<vehicleStack.size();i++)
    {
    if(vehicleStack.get(i).getRegistrationNum().equals(licensePlateNo))
    {
    break;
    }
    }
    if(i==vehicleStack.size())
    {
    return false;
    }
    else
    {
    QueueDeparture queue = new QueueDeparture();
    Vehicle tempVehicle = new Vehicle();
    while(true)
    {
    if(vehicleStack.peek().getRegistrationNum().equals(licensePlateNo))
    {
    //Do some operation
    vehicleStack.pop();
    //Get each and every thing from queue and insert into stack
    while((tempVehicle=queue.deleteFromQueue())!=null)
    {
    vehicleStack.push(tempVehicle);
    }
    break;
    }
    else
    {
    queue.insertIntoQueue(vehicleStack.pop());
    //Put into queue
    }
    }
    return true;
    }
    }
    public void display()
    {
    for(int i=0;i<vehicleStack.size();i++)
    {
    System.out.println("Flag:"+vehicleStack.get(i).getArrivalDepartureFlag()
    +" Registration number:" + vehicleStack.get(i).getRegistrationNum());
    }
    System.out.println("_____________________________________________________________");
    }
     
    }
     
    class QueueDeparture {
     
    Queue<Vehicle> vehicleQueue;
    public QueueDeparture()
    {
    vehicleQueue = new LinkedList<Vehicle>();
    }
    public boolean insertIntoQueue(Vehicle vehicle)
    {
    return vehicleQueue.offer(vehicle);
    }
    public Vehicle deleteFromQueue()
    {
    return vehicleQueue.poll();
    }
    }
     
    ///Main class
    public class Main {
     
    /**
    * @param args the command line arguments
    */
    public static void main(String[] args) {
    VehicleStack vehicleStack = new VehicleStack();
     
    Scanner sin = new Scanner(System.in);
    Scanner sin1 = new Scanner(System.in);
    boolean result = true;
    while(true)
    {
    String regNum = null;
    Vehicle vehicle = new Vehicle();
    System.out.println("1.Push car");
    System.out.println("2.Remove car");
    System.out.println("3.Display");
    System.out.println("4.Exit");
    System.out.println("Please enter your choice:");
    int choice = sin.nextInt();
    switch (choice)
    {
    case 1:
    System.out.println("1.Please enter Car registration Number");
    regNum = sin1.nextLine();
    vehicle.setArrivalDepartureFlag('A');
    vehicle.setRegistrationNum(regNum);
    result = vehicleStack.pushVehicle(vehicle);
    if(!result)
    {
    System.out.println("Vehicle garage is full(Max size:10)");
    }
    break;
    case 2:
    vehicleStack.display();
    System.out.println("1.Please enter Car license plate number to remove");
    regNum = sin1.nextLine();
    result = vehicleStack.popVehicle(regNum);
    if(!result)
    {
    System.out.println("Vehicle number "+ regNum +" was not found in the garage.");
    }
    break;
    case 3:
    vehicleStack.display();
    break;
    case 4:
    System.exit(0);
    }
     
    }
     
     
     
    }
     
    }

  8. #8
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    660
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: Laugh parking garage

    My code is this but I have some problems when compiling it. What are they and how to solve it?
    You tell us.
    Nobody here wants to go off and compile the code for themselves.
    Please post what problems you're having and the exception messages you're receiving.

    Additionally, please wrap your code in tags like the ones in my signature.
    Last edited by newbie; April 13th, 2011 at 02:40 PM.
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

  9. #9
    Junior Member
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Laugh parking garage

    Quote Originally Posted by newbie View Post
    You tell us.
    Nobody here wants to go off and compile the code for themselves.
    Please post what problems you're having and the exception messages you're receiving.

    Additionally, please wrap your code in tags like the ones in my signature.
    import java.util.*;
     
     
    class VehicleStack {                        // Vehicle Stack class
     
    Stack<Vehicle> vehicleStack;
    public VehicleStack()
    {
    vehicleStack = new Stack<Vehicle>();        // Creating the stack for laugh parking garage to hold 10 cars 
     
    }
    public boolean pushVehicle(Vehicle vehicle)
    {
    if(vehicleStack.size()<10)                  // Check whether the stack size is smaller than ten or not
    {
    vehicleStack.push(vehicle);                 // If the stack size is below 10 push the incoming vehicle in to the stack  
    return true;
    }
    else
    {
    return false;                               // If the stack size is ten or above cannot put the vehicle in to the stack   
    }
     
    }
    public boolean popVehicle(String licensePlateNo)
    {
    int i = 0;
    for(i=0;i<vehicleStack.size();i++)               // Checking there are any vehicles in the stack
    {
    if(vehicleStack.get(i).[B]getRegistrationNum().[/B]equals(licensePlateNo))
    {
    break;
    }
    }
    if(i==vehicleStack.size())
    {
    return false;
    }
    else
    {
    QueueDeparture queue = new QueueDeparture();
    Vehicle tempVehicle = new Vehicle();
    while(true)
    {
    if(vehicleStack.peek().[B]getRegistrationNum().[/B]equals(licensePlateNo))
    {
    //Do some operation
    vehicleStack.pop();
    //Get each and every thing from queue and insert into stack
    while((tempVehicle=queue.deleteFromQueue())!=null)
    {
    vehicleStack.push(tempVehicle);
    }
    break;
    }
    else
    {
    queue.insertIntoQueue(vehicleStack.pop());
    //Put into queue
    }
    }
    return true;
    }
    }
    public void display()
    {
    for(int i=0;i<vehicleStack.size();i++)
    {
    System.out.println("Flag:"+vehicleStack.get(i).getArrivalDepartureFlag()
    +" Registration number:" + vehicleStack.get(i).getRegistrationNum());
    }
    System.out.println("_____________________________________________________________");
    }
     
    }
     
    class QueueDeparture {
     
    Queue<Vehicle> vehicleQueue;
    public QueueDeparture()
    {
    vehicleQueue = new LinkedList<Vehicle>();
    }
    public boolean insertIntoQueue(Vehicle vehicle)
    {
    return vehicleQueue.offer(vehicle);
    }
    public Vehicle deleteFromQueue()
    {
    return vehicleQueue.poll();
    }
    }
     
    ///Main class
    public class Main {
     
    /**
    * @param args the command line arguments
    */
    public static void main(String[] args) {
    VehicleStack vehicleStack = new VehicleStack();
     
    Scanner sin = new Scanner(System.in);
    Scanner sin1 = new Scanner(System.in);
    boolean result = true;
    while(true)
    {
    String regNum = null;
    Vehicle vehicle = new Vehicle();
    System.out.println("1.Push car");
    System.out.println("2.Remove car");
    System.out.println("3.Display");
    System.out.println("4.Exit");
    System.out.println("Please enter your choice:");
    int choice = sin.nextInt();
    switch (choice)
    {
    case 1:
    System.out.println("1.Please enter Car registration Number");
    regNum = sin1.nextLine();
    vehicle.[B]setArrivalDepartureFlag[/B]('A');
    vehicle.[B]setRegistrationNum(regNum);[/B]
    result = vehicleStack.pushVehicle(vehicle);
    if(!result)
    {
    System.out.println("Vehicle garage is full(Max size:10)");
    }
    break;
    case 2:
    vehicleStack.display();
    System.out.println("1.Please enter Car license plate number to remove");
    regNum = sin1.nextLine();
    result = vehicleStack.popVehicle(regNum);
    if(!result)
    {
    System.out.println("Vehicle number "+ regNum +" was not found in the garage.");
    }
    break;
    case 3:
    vehicleStack.display();
    break;
    case 4:
    System.exit(0);
    }
     
    }
     
     
     
    }
     
    }

    The bold places I getting the message of for example
    method: getRegistrationNum()
    location:Class Vehicle
    What I could do to this and how can I do
    if(vehicleStack.get(i).getRegistrationNum().equals(licensePlateNo))
    Also I want to know what is the meaning of the above sentence because this sentence I downloaded from internet
    Very thankful for some one answering these questions.Because I'm in lot of troble with this project

  10. #10
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    660
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: Laugh parking garage

    If you would have read my reply with care, you would have noticed I requested the exception message that you're receiving..
    Secondly I asked you earlier to wrap code in tags such as ones in my signature, if you could do so, would be greatly appreciated.
    Anyway, I'm assuming the only error you're receiving is something along the lines of cannot find symbol.

    Nowhere in the code have you made a method called either getRegistrationNum(), setArrivalDepartureFlag() nor setRegistrationNum().
    You can't call a method you haven't even got.

    The equals method is used to check if the String returned by getRegistrationNum() (which doesnt exist) equals licensePlateNo.
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

  11. #11
    Junior Member
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Laugh parking garage

    Quote Originally Posted by newbie View Post
    If you would have read my reply with care, you would have noticed I requested the exception message that you're receiving..
    Secondly I asked you earlier to wrap code in tags such as ones in my signature, if you could do so, would be greatly appreciated.
    Anyway, I'm assuming the only error you're receiving is something along the lines of cannot find symbol.

    Nowhere in the code have you made a method called either getRegistrationNum(), setArrivalDepartureFlag() nor setRegistrationNum().
    You can't call a method you haven't even got.

    The equals method is used to check if the String returned by getRegistrationNum() (which doesnt exist) equals licensePlateNo.

    Thank you for details.
    My project is a similar type of a project to this earlier code. But this is only a part of the code that I got from cramster.com.But how can I get the full code from that web site for free so it will be easier for me to do changes.
    Also if you know some similar type of a codes that will be in the web site please tell me

    Thank you

  12. #12
    Junior Member
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Laugh parking garage

    Quote Originally Posted by madhusanka View Post
    import java.util.*;


    class VehicleStack { // Vehicle Stack class

    Stack<Vehicle> vehicleStack;
    public VehicleStack()
    {
    vehicleStack = new Stack<Vehicle>(); // Creating the stack for laugh parking garage to hold 10 cars

    }
    public boolean pushVehicle(Vehicle vehicle)
    {
    if(vehicleStack.size()<10) // Check whether the stack size is smaller than ten or not
    {
    vehicleStack.push(vehicle); // If the stack size is below 10 push the incoming vehicle in to the stack
    return true;
    }
    else
    {
    return false; // If the stack size is ten or above cannot put the vehicle in to the stack
    }

    }
    public boolean popVehicle(String licensePlateNo)
    {
    int i = 0;
    for(i=0;i<vehicleStack.size();i++) // Checking there are any vehicles in the stack
    {
    if(vehicleStack.get(i).getRegistrationNum().equals(licensePlateNo))
    {
    break;
    }
    }
    if(i==vehicleStack.size())
    {
    return false;
    }
    else
    {
    QueueDeparture queue = new QueueDeparture();
    Vehicle tempVehicle = new Vehicle();
    while(true)
    {
    if(vehicleStack.peek().getRegistrationNum().equals(licensePlateNo))
    {
    //Do some operation
    vehicleStack.pop();
    //Get each and every thing from queue and insert into stack
    while((tempVehicle=queue.deleteFromQueue())!=null)
    {
    vehicleStack.push(tempVehicle);
    }
    break;
    }
    else
    {
    queue.insertIntoQueue(vehicleStack.pop());
    //Put into queue
    }
    }
    return true;
    }
    }
    public void display()
    {
    for(int i=0;i<vehicleStack.size();i++)
    {
    System.out.println("Flag:"+vehicleStack.get(i).get ArrivalDepartureFlag()
    +" Registration number:" + vehicleStack.get(i).getRegistrationNum());
    }
    System.out.println("______________________________ _______________________________");
    }

    }

    class QueueDeparture {

    Queue<Vehicle> vehicleQueue;
    public QueueDeparture()
    {
    vehicleQueue = new LinkedList<Vehicle>();
    }
    public boolean insertIntoQueue(Vehicle vehicle)
    {
    return vehicleQueue.offer(vehicle);
    }
    public Vehicle deleteFromQueue()
    {
    return vehicleQueue.poll();
    }
    }

    ///Main class
    public class Main {

    /**
    * @param args the command line arguments
    */
    public static void main(String[] args) {
    VehicleStack vehicleStack = new VehicleStack();

    Scanner sin = new Scanner(System.in);
    Scanner sin1 = new Scanner(System.in);
    boolean result = true;
    while(true)
    {
    String regNum = null;
    Vehicle vehicle = new Vehicle();
    System.out.println("1.Push car");
    System.out.println("2.Remove car");
    System.out.println("3.Display");
    System.out.println("4.Exit");
    System.out.println("Please enter your choice:");
    int choice = sin.nextInt();
    switch (choice)
    {
    case 1:
    System.out.println("1.Please enter Car registration Number");
    regNum = sin1.nextLine();
    vehicle.setArrivalDepartureFlag('A');
    vehicle.setRegistrationNum(regNum);
    result = vehicleStack.pushVehicle(vehicle);
    if(!result)
    {
    System.out.println("Vehicle garage is full(Max size:10)");
    }
    break;
    case 2:
    vehicleStack.display();
    System.out.println("1.Please enter Car license plate number to remove");
    regNum = sin1.nextLine();
    result = vehicleStack.popVehicle(regNum);
    if(!result)
    {
    System.out.println("Vehicle number "+ regNum +" was not found in the garage.");
    }
    break;
    case 3:
    vehicleStack.display();
    break;
    case 4:
    System.exit(0);
    }

    }



    }

    }
    The bold places I getting the message of for example
    method: getRegistrationNum()
    location:Class Vehicle
    What I could do to this and how can I do
    if(vehicleStack.get(i).getRegistrationNum().equals(licensePlateNo))
    Also I want to know what is the meaning of the above sentence because this sentence I downloaded from internet
    Very thankful for some one answering these questions.Because I'm in lot of troble with this project
    thanks very much for the details

    I have got a part of a code from cramster.com. My project is a similar type for this question. Plese if you can get the full code from the cramster.com it will be very thankful.
    Also If you know some other web sites that has given a similar type of a code please inform me. So i can get the project done. It is very difficult for me

    Thank you so much

  13. #13
    Junior Member
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Laugh parking garage

    thanks very much for the details

    I have got a part of a code from cramster.com. My project is a similar type for this question. Plese if you can get the full code from the cramster.com it will be very thankful.
    Also If you know some other web sites that has given a similar type of a code please inform me. So i can get the project done. It is very difficult for me

    Thank you so much

  14. #14
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,966
    My Mood
    Hungover
    Thanks
    133
    Thanked 553 Times in 474 Posts

    Default Re: Laugh parking garage

    Quote Originally Posted by madhusanka View Post
    thanks very much for the details

    I have got a part of a code from cramster.com. My project is a similar type for this question. Plese if you can get the full code from the cramster.com it will be very thankful.
    Also If you know some other web sites that has given a similar type of a code please inform me. So i can get the project done. It is very difficult for me

    Thank you so much
    Isn't that cheating? Hopefully your instructor doesn't visit these forums!
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  15. #15
    Junior Member
    Join Date
    Apr 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Laugh parking garage

    I'm not cheating.Thats the way this exam going finding from internet and getting the project done.So please if you know tell me some web sites. If you dont doesn't matter but thanks
    I also want to know
    result = vehicleStack.popVehicle(regNum);
    if(!result)
    What is the use of using ! for if statement as above

  16. #16
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    660
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: Laugh parking garage

    Go read some Java tutorials.
    Taking code off the internet and not understanding it mean's you'll need to ask us more questions than that's necessary.

    Go through the tutorials here so you can understand what's going on and to have the ability write additional code yourself.
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

  17. #17
    Junior Member
    Join Date
    Apr 2011
    Posts
    1
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Laugh parking garage

    Quote Originally Posted by madhusanka View Post
    The laughs parking garage contains a single lane that hold up to ten cars. Cars arrive at the south end of the garage and leave from the north end. If a customer arrives to pick up a car that is not northernmost, all the cars to the north of his car are moved out, his car is driven out, and the others cars are restored in the same order that they were in originally. Whenever a car leaves, all the cars to the south are moved forward. So that at all the times all the empty spaces are in the south part of the garage.
    Write a Java program to reads a group of input lines. Each line contains an a arrival or a d departure and a license plate number. Cars are assumed to arrive and depart in the order specified by the input. The program should print a message each time that a car arrives or departs. When a car arrives, the massage should specify whether or not there is room for the car in garage. If there is no room for a car, the car waits until there is room or until a departure line is read for the car. When room becomes available, another massage should be printed. When a car departs, the massage should include the number of times the car was moved within the garage (including the departure itself but not the arrival), this number is 0 if the car departs from the waiting line.

    Note:
    Your documentation should include pseudo code, source code, test data and expected outputs for garage activities.
    This question was supplied by University of Colombo for there Master of Information Technology students as a assignment therefor they should be try this by themselves. its ok to get help from the internet but ask for the full code is trying to cheat the university. therefore I kindly request from others not to supply any full code, because one day after getting their Masters and they will attend to some universities or any higher Educational Institute as a Lecturer then how they teach for their students. what will happened to the our youngsters.

  18. The Following User Says Thank You to policeman For This Useful Post:

    JavaPF (April 20th, 2011)

Similar Threads

  1. Parking Lot Program help!
    By soul.salem in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 23rd, 2011, 09:35 PM
  2. Dont laugh at me
    By Neblin in forum What's Wrong With My Code?
    Replies: 5
    Last Post: October 3rd, 2009, 08:18 AM