All inputoutput should be done in the graphics window


Write a program that displays information about a rectangle drawn by the user. Input: Two mouse clicks for the opposite corners of a rectangle. Output: Draw the rectangle. Print the perimeter and area of the rectangle. All input/output should be done in the Graphics Window. Formulas: area = (length)(width) perimeter = 2(length + width)

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: All inputoutput should be done in the graphics window
Reference No:- TGS01607949

Expected delivery within 24 Hours