Question: Write a program that computes the area of a rectangle. The following pseudocode should help you get started. get the length of the rectangle from
Write a program that computes the area of a rectangle. The following pseudocode should help you get started.
get the length of the rectangle from the user
get the width of the rectangle from the user
calculate the area area = length * width
display area
Hint: There is a nextDouble() method in the Scanner class.
Please submit your .java file for grading.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
