Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class TEST
- creation
- make
- feature
- make is
- local
- first : INTEGER
- second : INTEGER
- do
- from
- first:=100
- until
- first>=999
- loop
- from
- second:=100
- until
- second>=999
- loop
- -- check if its a palindrome or not. check if its larger than last one calculated
- -- print("| First: ");
- --io.put_integer(first);
- --print(", Second: ");
- --io.put_integer(second);
- print(" -- ")
- io.put_integer(first*second)
- print(" -- ")
- second:=second+1;
- end
- first:=first+1
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement