Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 rect2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started