Question: Create a new class called Rectangle ( in the same lab 0 2 project ) . The main method should output your name, lab number,
Create a new class called Rectangle in the same lab project The main method should output your name, lab number, and the output of the calculation for the area of a rectangle and the perimter. Create the variables width, length, area, and perimeter of Type Double. Use the numbers for width and for length for initial valuses.
Remember the area of a rectangle is width length and the perimeter is width length.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
