Anonymous user
Rosetta Code talk:Add a Task: Difference between revisions
→Extensible prime generator Ring Programming Language
imported>Yasser Mohammed (→Extensible prime generator Ring Programming Language: new section) |
imported>Yasser Mohammed |
||
Line 23:
:::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--> 'الحصول علي الأعداد الأولية في مدي محدد''''▼
▲<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
Line 36:
</big>
[[File:Screenshot 2023 09 30-1.png|thumb|Prime Numbers By Ring Language]]
[https://youtu.be/8YMVe5BaP8k Study Ring IN]
|