Question: In javascript please c. Write a test program that will: - Create a Rectangle object rect1 with default values for length and width. - Create

In javascript please In javascript please c. Write a test program that will: -

c. Write a test program that will: - Create a Rectangle object rect1 with default values for length and width. - Create a Rectangle object rect2 with width of 8.5 and length of 10.4. These values will be inputted from keyboard. - Change width of rect1 to 4 and its height to to 8 - Print information for rect1 - width, length, area and perimeter. Make sure to include descriptive text of value printed. - Repeat steps above for rect2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!