Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions