Skip to content

It calculates and draws the rectangle you describe with the length and width

Notifications You must be signed in to change notification settings

dejadunlap/Rectangle-Class-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Rectangle-Class-JS

The Rectangle class ask the user for a width and length of a rectangle. Once the user has input two numbers, it will print out the area, perimeter, rectangle. The user will then be given four choices:

  1. Scale both the length and width by the same factor
  2. Scale only the length
  3. Scale only the width
  4. Scale both the length and the width by different factors

Once the user has made a choice they will be guided through the selected program and the new area, perimeter, and rectangle will run

About

It calculates and draws the rectangle you describe with the length and width

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published