Date: Mon, 6 Dec 2010 17:01:13 +0000 (GMT)

I have just a small program to write in gel:
for i = 3 to 100 do (

this one works, but I would like to display only the results integers.

for i = 3 to 100 do (
a = sqrt(i^3)
IsInteger(a) = true
print i, i^3,c (I wrote it as in language BASIC)

and one more condition
IsInteger(a) AND IsPrime(a) = true

Sorry to disturb you for so elementary program.
If you could put in the manual or in other part more examples of small program it could be easier for a beginner to learn the syntax of GEL.

Merci beaucoup pour GENIUS qui semble assez simple utiliser quand on a compris la syntaxe.
Received on Mon Dec 06 2010 - 11:03:43 CST

This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:00:03 CDT