Program Hotel Sea Side - Pascal

timer Asked: Feb 8th, 2015

Question description

1.  Develop an algorithm to keep track of the number of available rooms and the number of visitors. The program should calculate the cost of accommodation, any discounts that may apply, the final cost for each visitor and the overall total bill for the company.

The program should accept as input the name of one of the companies and the visitors’ information for that company. Accept the first name, last name, status (resident or non- resident) and duration of stay for each visitor and also prompt the user to state whether or not the visitor is an early bird.

The program should then display the name and the total amount that should be paid by the company, the number of registered guest and the number of available rooms. The program should also produce a listing of all the visitors for each package. Include in the list of names the final cost, discount amounts and room numbers assigned to each visitor.

Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors