Most countries (with the exception of Canada, Colombia, the Dominican Republic, Mexico, and the United States) follow

Question:

Most countries (with the exception of Canada, Colombia, the Dominican Republic, Mexico, and the United States) follow the ISO 216 standard for paper sizes. An A0 sheet has dimensions 841 × 1189 millimeters. An A1 sheet is obtained by cutting an A0 sheet in half along the larger dimension, yielding a 594 × 841 sheet. An A2 sheet is obtained by cutting it in half again, yielding a 420 × 594 sheet, and so on. Implement a class Sheet whose constructor makes an A0 sheet. Provide a method cutInHalf that yields a Sheet object of half the size. Also provide methods width, height, and name, returning the width and height in millimeters, as well as the name (such as "A2").

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: