Write a program to print the area of a rectangle by creating a class named 'Area' having two functions. First function named as 'Dimension' takes the length and breadth of the rectangle as parameters and the second function named as 'takeArea' returns the area of the rectangle. Length and breadth of the rectangle are entered through keyboard.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here