Q8 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 to calculate and print paper sizes A0, A1, A2, ….. A8.

Program: 58

Write a c program to print paper sizes from A0 to A8 | Let Us C Solutions

Output:

  A0: 841 x 1189
  A1: 594 x 841
  A2: 420 x 594
  A3: 297 x 420
  A4: 210 x 297
  A5: 148 x 210
  A6: 105 x 148
  A7: 74 x 105
  A8: 52 x 74

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

3 thoughts on “Q8 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 to calculate and print paper sizes A0, A1, A2, ….. A8.

  • July 15, 2020 at 3:40 pm
    Permalink

    I don’t think this works for the first case
    for A0

    Reply
  • September 21, 2020 at 4:35 am
    Permalink

    The book doesn’t even cover loops/statements or whatever the “for” is at this point on Chapter 1. How are we supposed to know that?

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.