Hotel Management System in Java
The main task for Hotel Management Project in java is ahead to see all the things whether they are running smoothly or not, this software will be capable of doing or performing following tasks:
Reservation.
Registration.
Billing/Clearance of Guest Folio.
Checkout.
This Hotel Management Project in java is developed keeping in mind the various aspects of hotels in public sector as well as in private sector. This software is intended to be developed for Deluxe Class / Super-Deluxe Class Hotels. A Comparison will be done of Deluxe Class Hotels in public sector and in private sector and then the resultant / desired software will be developed.
Keeping records of various customers that visit in the hotel.
Keeping records of various items that are served to the customers.
Keeping records of customer’s Check-in/Check-out timings.
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
ArrayList<String> customer = new ArrayList<>();
int[] rooms = new int[10];
System.out.println("Enter you name:");
customer.add(in.nextLine());
System.out.println("Select a room(0-6 regular, 7-9 deluxe):");
int room = in.nextInt();
rooms[room] = 1;
System.out.println("To pay: " + (room < 7 ? "100$" : "200$"));
}
}
Comments
Leave a comment