Question: Please write in Java! Thanks! b. perimeter = width + width + height + height Don'f forget to give the user a prompt to ask

Please write in Java! Thanks!
b. perimeter = width + width + height + height Don'f forget to give the user a prompt to ask for the width and the height. The height and widht entered should should allow for values with decimat points The output from the program should be formatted as follows: The Area of a rectangle with a width of 4.5 and a height of 7.9 is: area The Perimeter of a rectangle with a width of 4.5 and a height of 7.9 is: perimeter Please enter a width: x Please enter a height: y The Area of a rectangle with a width of x (value that the user supplied) and a height of y (value that the user supplied) is: area The Perimeter of a rectangle with a width of 4.5 and a height of 7.9 is: perimeter The name of the file and class should be YourFirstNameYourLastNameCalcArea You will need to upload:2 files: 1. The .java file with your code 2. A txt or docx file with your test results Good Luck
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
