Professional Documents
Culture Documents
ASSIGNMENT 1
Project 1:
Create an application for a mobile company. This application should accept total number of calls made
and customer plan. The application should display the total bill for the customer. Plan details are as
follows:
planA
planB
planA
Result:
Displays total bill for the customer based on number of calls made and plan
Classification: Internal
Project 2:
1. The class has private attributes length and width, each of which defaults to 1.
2. It should have member methods that calculate the perimeter and area of the rectangle.
3. It should have set and get functions for both length and width.
4. The set functions should verify that length and width are each floating-point number larger than 0.0
and less than 20.0.
5. Write TestRect class in package "test_geom": to create 2 rectangles & invoke setters/geters &
display perimeter & area.