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

Thread: I Need some help!!!!!!!

  1. #1
    Junior Member dark155's Avatar
    Join Date
    Mar 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation I Need some help!!!!!!!

    Heay programmers,

    this is my first post in this amazing forums and I hope that someone can help me solving my issue

    I'm a java beginner, I'm in the process of learning it, and I have a java assignment were I have to write a java code for a University Apartments which provides apartment rental to university students at affordable rates.

    I have started doing it and I reached the Register new student point and need some help doing it

    I would appreciate if anyone could help me complete this assignment

    below is the assignment description




    The University Apartments provides apartment rental to university students at affordable rates, with optional facilities:

    - Apartment Type A, 2 bedrooms and equipped with kitchen and laundry facilities. The monthly rental for the rooms in this apartment type is RM300.
    - Apartment Type B, 3 bedrooms includes one master bedroom with attached bathroom but does not have kitchen and laundry facilities. The monthly rental for the rooms in this apartment type is RM200 and students staying in the master bedroom will be paying an additional 40%.

    Each apartment may house a maximum of 3 students. Students are required to check out from the apartment unit when the current semester ends.

    Create an application to manage the university apartments rental:

    1. Register new student and assign apartment module
    Register and assigns an apartment to the student for 140 days from the date of registration. The module should retrieve the date automatically from the system clock and calculates the expiry date for the apartment rental. Before an apartment is assigned, the system should allow the selection of the type of apartment (i.e. Type A or B), then check for the number of occupants in the apartment. If the apartment already housed 3 students, it should recommend another apartment unit that is still available. Upon registration, the student should pay RM100 for the utility charges, rental deposit for one month and the rental for the current month.

    2. Update apartment status module
    When a student moves out from an apartment, the apartment status is updated.

    3. Reporting module
    Generates a report of apartments with full occupancy and another report for apartments where rooms are still available.

    4. Search module
    Enable the administrator to search for a student's apartment unit using the student id as the search key. The search result should produce the student’s information and the details of the apartment that the student is staying in.




    Attached Files Attached Files

  2. #2
    Member
    Join Date
    Mar 2012
    Location
    United States
    Posts
    118
    My Mood
    Inspired
    Thanks
    1
    Thanked 33 Times in 31 Posts

    Default Re: I Need some help!!!!!!!

    By 'started doing it', do you mean there is some code? The explanation for registering a new student is pretty explicit, so what exactly are you stuck on? Anyway, from what I can see, each instance of Student should have an apartment number, apartment type, expiry date....etc. associated with it. Creating a list of what classes and methods will be needed may be a good place to start then you could flesh that out.

  3. #3
    Member
    Join Date
    Mar 2012
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: I Need some help!!!!!!!

    Here I will help you in some of the planning
    1. Make a class
    2. Have user make new student
    3. Have student option of plan A and plan B displayed and input from user to get what plan they want
    4.Reshow student's status (Name and with apartment type)
    5.If in apartment B ask if they will stay in master bedroom for 40% incease in cost.
    6. Save this data into variables
    7.Now I don't know what else is to be done, but that is what I think is what is needed. I don't follow if this is actually going to be used or not so like yeah.

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: I Need some help!!!!!!!

    Ask a specific question, get a specific answer. I recommend reading the link in my signature entitled getting help. And just for the record, we will only help insofar as providing advice - anyone writing code for you for assignments such as this is not only against forum policy, it is a poor way to learn and it is academic dishonesty (assuming this is for a class)

  5. #5
    Junior Member
    Join Date
    Sep 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: I Need some help!!!!!!!

    im also need that answer
    Quote Originally Posted by dark155 View Post
    Heay programmers,

    this is my first post in this amazing forums and I hope that someone can help me solving my issue

    I'm a java beginner, I'm in the process of learning it, and I have a java assignment were I have to write a java code for a University Apartments which provides apartment rental to university students at affordable rates.

    I have started doing it and I reached the Register new student point and need some help doing it

    I would appreciate if anyone could help me complete this assignment

    below is the assignment description










  6. #6
    Super Moderator curmudgeon's Avatar
    Join Date
    Aug 2012
    Posts
    1,130
    My Mood
    Cynical
    Thanks
    64
    Thanked 140 Times in 135 Posts

    Default Re: I Need some help!!!!!!!

    @mansoormallah: have you read any of the replies to the initial question? And yet you still haven't shown your work or ask a specific question? Why?

  7. The Following User Says Thank You to curmudgeon For This Useful Post:

    copeg (September 1st, 2012)