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.