Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

need some help please

tonputriksatonputriksa Posts: 4Member
Hi, i am anthony a student,, i need some help to complete my project.. the deadline is on march23. will you please give me some help in this regard by giving me some code.. i hope you will help me in my project,,


Qno.1
Define a class called ParkindNode that has the ff: properties..
i. Carplateno of String Type
ii. Hours of parking
iii. Parking rate per hour depends on seasonal or not type of car
iv. Status which will indicate whether the car belongs to seasonal
parking or not.
v. Next pointer which referencing to the next car in the list
vi. Include appropriate accessors, mutators and constructor(s) as
well as a method to change the car's information.
vii. Include a mehtod DisplayStatus to display Season parking status
for car owner with status of 'S' otherwise display Daily rate
parking.

Qno.2

Define a class called Constructions that has the following
properties.
i. A reference to the first ParkingNode called start.
ii. Include an appropriate constructor that will initialize the
start member to null.(i.e this means parking with currently no cars
available)
iii. Include a method that will allow a new car information to be
included into the system.
iv. Include a method to search for a car parking information
v. Include a method to increase the seasonal parkind rate by 10%
vi. Include a method to display all car details that are currently
still parking.
vii. Include a method do find the toatal rental cost for all the
cars belongs to seasonal parking status.
viii. Include a method to find the maximum total rental cost paid on
the parking.
ix. Include one more method that either involved calculation, or
data manipulation

Qno,3
Define a main menu program that will allow all the parking
information to be manipulated




thank you!
yours truely
anthony

Comments

  • zibadianzibadian Posts: 6,349Member
    : Hi, i am anthony a student,, i need some help to complete my project.. the deadline is on march23. will you please give me some help in this regard by giving me some code.. i hope you will help me in my project,,
    :
    :
    : Qno.1
    : Define a class called ParkindNode that has the ff: properties..
    : i. Carplateno of String Type
    : ii. Hours of parking
    : iii. Parking rate per hour depends on seasonal or not type of car
    : iv. Status which will indicate whether the car belongs to seasonal
    : parking or not.
    : v. Next pointer which referencing to the next car in the list
    : vi. Include appropriate accessors, mutators and constructor(s) as
    : well as a method to change the car's information.
    : vii. Include a mehtod DisplayStatus to display Season parking status
    : for car owner with status of 'S' otherwise display Daily rate
    : parking.
    :
    : Qno.2
    :
    : Define a class called Constructions that has the following
    : properties.
    : i. A reference to the first ParkingNode called start.
    : ii. Include an appropriate constructor that will initialize the
    : start member to null.(i.e this means parking with currently no cars
    : available)
    : iii. Include a method that will allow a new car information to be
    : included into the system.
    : iv. Include a method to search for a car parking information
    : v. Include a method to increase the seasonal parkind rate by 10%
    : vi. Include a method to display all car details that are currently
    : still parking.
    : vii. Include a method do find the toatal rental cost for all the
    : cars belongs to seasonal parking status.
    : viii. Include a method to find the maximum total rental cost paid on
    : the parking.
    : ix. Include one more method that either involved calculation, or
    : data manipulation
    :
    : Qno,3
    : Define a main menu program that will allow all the parking
    : information to be manipulated
    :
    :
    :
    :
    : thank you!
    : yours truely
    : anthony
    :
    Here's a start of your assignment.
    [code]
    public class ParkindNode
    {
    private String Carplateno;
    private double parkingTime;
    private ParkindNode next;

    public ParkindNode(String arg0, double arg1)
    {
    Carplateno = arg0;
    parkingTime = arg1
    next = null;
    }
    }

    public class Constructions
    {
    private ParkindNode firstCar;

    public Constructions()
    {
    firstCar = null;
    }
    }
    [/code]
    I'm willing to write it all, if you're willing to write mine:
    an extendable Reversi game, which allows people to play the game against the computer and to which additional computer players can be added without recompiling the source code.
  • rickysririckysri Posts: 21Member
    Need some help here!................I am trying to display a JAVA Banner that looks like this "JAVA"


    JJJJJJ AAAAAA VV VV AAAAAAA
    JJJJ AA AA VV VV AA AA
    JJJJ AAAAAA VV VV AAAAAAA
    JJJJJ AA AA VVVVV AA AA
    JJ JJ AA AA VV AA AA

    I have done the program like this what i have to do create a functional class Banner with NO ATTRIBUTES and one method called getBanner which is responsible for outputting a JAVA banner to screen like abolve through getBanner(). To insure it works create a test class (TestBanner) that instatntiate an object from the Banner class and invokes the getBanner method...

    the program is as follows

    Banner.java

    //Sriram Balasubramanian
    // 15th March 2006
    //Homework Assignment #1
    // Description??

    public class Banner // banner class
    {
    String getBanner() {
    return("JAVA");
    }
    }

    TestBanner.java(Test class that instantiastes an objecr from Banner class abd invokes the getBanner method)

    // Sriram Balasubramanian
    // 15th March 2006
    // Homework Assignment #1
    //Description??

    public class TestBanner
    {
    public static void main (String[] args)
    {
    Banner myBannerObject = new Banner();
    System.out.println(myBannerObject.getBanner());
    }

    }


    The problem here.. is that java is simply displayed ordinary letters and not like the one above... I am new to this basics of Java programming ...Any ideas might be helpful ...Please do let me know ASAP!!!

    Thanks

    Sriram




  • zibadianzibadian Posts: 6,349Member
    : Need some help here!................I am trying to display a JAVA Banner that looks like this "JAVA"
    :
    :
    : JJJJJJ AAAAAA VV VV AAAAAAA
    : JJJJ AA AA VV VV AA AA
    : JJJJ AAAAAA VV VV AAAAAAA
    : JJJJJ AA AA VVVVV AA AA
    : JJ JJ AA AA VV AA AA
    :
    : I have done the program like this what i have to do create a functional class Banner with NO ATTRIBUTES and one method called getBanner which is responsible for outputting a JAVA banner to screen like abolve through getBanner(). To insure it works create a test class (TestBanner) that instatntiate an object from the Banner class and invokes the getBanner method...
    :
    : the program is as follows
    :
    : Banner.java
    :
    : //Sriram Balasubramanian
    : // 15th March 2006
    : //Homework Assignment #1
    : // Description??
    :
    : public class Banner // banner class
    : {
    : String getBanner() {
    : return("JAVA");
    : }
    : }
    :
    : TestBanner.java(Test class that instantiastes an objecr from Banner class abd invokes the getBanner method)
    :
    : // Sriram Balasubramanian
    : // 15th March 2006
    : // Homework Assignment #1
    : //Description??
    :
    : public class TestBanner
    : {
    : public static void main (String[] args)
    : {
    : Banner myBannerObject = new Banner();
    : System.out.println(myBannerObject.getBanner());
    : }
    :
    : }
    :
    :
    : The problem here.. is that java is simply displayed ordinary letters and not like the one above... I am new to this basics of Java programming ...Any ideas might be helpful ...Please do let me know ASAP!!!
    :
    : Thanks
    :
    : Sriram
    :
    :
    :
    :
    :
    I would add a parameter to the method, which controls what the method returns. The you can return each line using a for-loop in the main() method of the program.
  • rickysririckysri Posts: 21Member
    Hello

    Thanks for the information.Could you please reiterate this with the help of an example as pertaining to the program that i send. I couldn't fully understand how to do it?...

    Thanks




    : I would add a parameter to the method, which controls what the method returns. The you can return each line using a for-loop in the main() method of the program.
    :

  • zibadianzibadian Posts: 6,349Member
    : Hello
    :
    : Thanks for the information.Could you please reiterate this with the help of an example as pertaining to the program that i send. I couldn't fully understand how to do it?...
    :
    : Thanks
    :
    :
    :
    :
    : : I would add a parameter to the method, which controls what the method returns. The you can return each line using a for-loop in the main() method of the program.
    : :
    :
    :
    [code]
    public class Banner // banner class
    {
    String getBanner(int i) {
    switch(i)
    {
    case 0: return("JAVA1");
    case 1: return("JAVA2");
    case 2: return("JAVA3");
    }
    }
    }

    TestBanner.java(Test class that instantiastes an objecr from Banner class abd invokes the getBanner method)

    // Sriram Balasubramanian
    // 15th March 2006
    // Homework Assignment #1
    //Description??

    public class TestBanner
    {
    public static void main (String[] args)
    {
    int i;
    Banner myBannerObject = new Banner();
    for (i = 0; i < 3; i++)
    System.out.println(myBannerObject.getBanner(i));
    }
    }
    [/code]
  • tonputriksatonputriksa Posts: 4Member
    : : Hi, i am anthony a student,, i need some help to complete my project.. the deadline is on march23. will you please give me some help in this regard by giving me some code.. i hope you will help me in my project,,
    : :
    : :
    : : Qno.1
    : : Define a class called ParkindNode that has the ff: properties..
    : : i. Carplateno of String Type
    : : ii. Hours of parking
    : : iii. Parking rate per hour depends on seasonal or not type of car
    : : iv. Status which will indicate whether the car belongs to seasonal
    : : parking or not.
    : : v. Next pointer which referencing to the next car in the list
    : : vi. Include appropriate accessors, mutators and constructor(s) as
    : : well as a method to change the car's information.
    : : vii. Include a mehtod DisplayStatus to display Season parking status
    : : for car owner with status of 'S' otherwise display Daily rate
    : : parking.
    : :
    : : Qno.2
    : :
    : : Define a class called Constructions that has the following
    : : properties.
    : : i. A reference to the first ParkingNode called start.
    : : ii. Include an appropriate constructor that will initialize the
    : : start member to null.(i.e this means parking with currently no cars
    : : available)
    : : iii. Include a method that will allow a new car information to be
    : : included into the system.
    : : iv. Include a method to search for a car parking information
    : : v. Include a method to increase the seasonal parkind rate by 10%
    : : vi. Include a method to display all car details that are currently
    : : still parking.
    : : vii. Include a method do find the toatal rental cost for all the
    : : cars belongs to seasonal parking status.
    : : viii. Include a method to find the maximum total rental cost paid on
    : : the parking.
    : : ix. Include one more method that either involved calculation, or
    : : data manipulation
    : :
    : : Qno,3
    : : Define a main menu program that will allow all the parking
    : : information to be manipulated
    : :
    : :
    : :
    : :
    : : thank you!
    : : yours truely
    : : anthony
    : :
    : Here's a start of your assignment.
    : [code]
    : public class ParkindNode
    : {
    : private String Carplateno;
    : private double parkingTime;
    : private ParkindNode next;
    :
    : public ParkindNode(String arg0, double arg1)
    : {
    : Carplateno = arg0;
    : parkingTime = arg1
    : next = null;
    : }
    : }
    :
    : public class Constructions
    : {
    : private ParkindNode firstCar;
    :
    : public Constructions()
    : {
    : firstCar = null;
    : }
    : }
    : [/code]
    : I'm willing to write it all, if you're willing to write mine:
    : an extendable Reversi game, which allows people to play the game against the computer and to which additional computer players can be added without recompiling the source code.
    :
    sorry but i cant write that kindof programme,, im just a beginner in java prog.... thats why im asking for help.. would you can kindly please write it all... i know you have the knowledge,, please,,,
Sign In or Register to comment.