Re: A puzzle
Re: A puzzle
- Subject: Re: A puzzle
- From: Luther Fuller <email@hidden>
- Date: Fri, 21 Nov 2008 12:11:06 -0600
Once brute force shows you the pattern, you can get instant results
with ...
repeat
display dialog "How many digits does your odometer have?" default
answer ""
try
set n to (text returned of the result) as integer
exit repeat
end try
end repeat
display dialog (n * (10 ^ (n - 1))) buttons {"Cancel"} default button 1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >A puzzle (From: Michelle Steiner <email@hidden>) |