Rosetta Code talk:Add a Task: Difference between revisions

Undo revision 356418 by Yasser Mohammed (talk) Not the place
imported>Yasser Mohammed
(Undo revision 356418 by Yasser Mohammed (talk) Not the place)
 
(2 intermediate revisions by 2 users not shown)
Line 22:
 
:::Just for another way to think about it, maybe we can say that Cateories are DB tables where the keys are the page names. Then Properties would be tables where the keys are the page name and an additional value. --[[User:Mwn3d|Mwn3d]] 22:27, 9 November 2010 (UTC)
 
== Extensible prime generator Ring Programming Language ==
 
<big># Ring--> ' Program to Print all Prime Numbers in an Interval'
# Ring--> 'الحصول علي الأعداد الأولية في مدي محدد'
?'Enter Low Number : ' give Dow
?'Enter High Number : ' give UP
 
for x=Dow to up y=x-1 pr=0
for i=1 to y if x%(x-i)=0 or x=2 pr++ ok next
if pr=1 ?x ok
next
</big>
[[File:Screenshot 2023 09 30-1.png|thumb|Prime Numbers By Ring Language]]
10,327

edits