Derek Harrison's Crossword Message Board

Please do not discuss (or even mention) current puzzles until after the solution is published. The moderators reserve the right to delete messages which do not have a valid Email address.

Message Board Rules

Re(3): Listener No. 4386, Hailstorm: A Setter's Blog by Elap
IP: 85.105.30.160


... and just in case anyone's interested, here's my BASIC program:

10 N=0 : PRINT "ENTER A NUMBER: ": INPUT X
15 PRINT X
20 IF X = 1 THEN PRINT: PRINT "NUMBER OF HAILSTONES:"N : GOTO 10
25 IF X/2 = INT(X/2) THEN GOTO 50
30 X = 3*X+1
35 PRINT X;" ";
37 N=N+1
40 GOTO 20
50 X =X/2
55 PRINT X;" ";
57 N=N+1
60 GOTO 20


Replies:


Post a reply:
Name:
Email:
Subject:
Message:
Link Name:
Link URL:
Image URL:
Check this box if you want to be notified via email when someone replies to your post.

Create Your Own Free Message Board or Free Forum!
Hosted By Boards2Go Copyright © 2000-2015
Our Sites: Wedding address collection  Wedding thank you wording