...
/Example 5: Calculate the Dimensions of a Paper Given the Size
Example 5: Calculate the Dimensions of a Paper Given the Size
Learn how to calculate the size of various types of paper and print them.
We'll cover the following...
Problem
The paper of size A0 has dimensions 1189 mm x 841 mm. Each subsequent size A(n) is defined as A(n-1) cut in half parallel to its shorter sides.
Write a program that takes A0 paper size as a ...
Access this course and 1400+ top-rated courses and projects.