All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic
Rectangular Logic (Posted on 2005-01-28) Difficulty: 4 of 5
Promising them an increase in their allowance if they get the answer, I offer my two sons, Peter and Paul, the following puzzler:

"I am thinking of a rectangle with integer sides, each of which are greater than one inch. The total perimeter of the rectangle is no greater than eighty inches."

I then whisper the total area to Peter and the total perimeter to Paul. Neither of them are allowed to tell the other what they heard: their job is to work out the rectangle's dimensions.

Their subsequent conversation goes like this:

Peter: Hmmm... I have no idea what the perimeter is.
Paul: I knew you were going to say that. However, I don't know what the area is.
Peter: Still no clue as to the perimeter...
Paul: But now I know what the area is!
Peter: And I know what the perimeter is!

What are the dimensions of the rectangle?

No Solution Yet Submitted by Sam    
Rating: 3.7500 (12 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
No Subject | Comment 45 of 53 |
Rectangular logic is a design pattern for processes where calls are made to a shared object. The Rectangle class represents the data's state and shape. Here you check this Siding contractors baltimore and get more siding services. If a method is to be called on this object, then a reference to it must be passed in as an argument. This class assumes that all methods operate on the whole object, which lets it remain consistent with other classes in the application.
  Posted by Whia1967 on 2022-09-19 04:56:43
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information