This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: After answering this assignment you will be able to: (a) Distinguish between instance variables and class variables (b) Distinguish between instance methods and class methods (c) Know how to call class methods and how to call instance methods (d) Format numbers to reflect dollar currency (e) Format current date (f) Understand the concept of overloading The ABC Cheap Lodging, Inc wants a computerized printed receipt for each of its customers transaction, and a summary report for all its transactions. Each input consists of the room number, the number of nights, and the number of customers. A customer may request additional night stay after the initial stay has expired. Also, a customer may have other members joining at a later time than at the initial registration. When registering, if customer a simply request a room it is assumed that its only one person staying one night. On the other hand the customer may specify the length of stay. In this case it is assumed that there is only one customer for that many nights; or the customer may specify the length of stay....
View Full Document
- Fall '08