Post Reply 
(11C) Random Prime Number Generator
10-22-2018, 12:28 PM
Post: #24
RE: (11C) Random Prime Number Generator
(10-22-2018 10:32 AM)Gamo Wrote:  I have updated the program but I try different approach and not sure if this version is OK or not.

It's okay but you could make it a bit shorter:
Code:
LBL E
1001
RAN#
EEX 4
x
INT
X≤Y
GTO E
------------------------
.
.
.
.

Quote:I'm using the conditional test that not allow it to get below 1000.
You might rather use 999 instead of 1001 if that's your intend.

Kind regards
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(11C) Random Prime Number Generator - Gamo - 10-20-2018, 01:08 PM
RE: (11C) Random Prime Number Generator - Thomas Klemm - 10-22-2018 12:28 PM



User(s) browsing this thread: 1 Guest(s)