Description
Introduction to Programming
with Java
Class: RectangleArea.java
Score: (Simple)
Prerequisites: ACM Task Force Commands
Description:
Write a program that takes height and width of the rectangle from the user then calculate and print the area of that rectangle. (Note that height and width variables should be declared as double)
Sample Run:
This program computes the area of a rectangle.
Enter the height of rectangle: 4
Enter the width of rectangle: 5
Rectangle Area = 20.0




Reviews
There are no reviews yet.