Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 LuckStep 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