Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Eiffel 0.37 KB | None | 0 0
  1.                 from
  2.                     first:=100
  3.                 until
  4.                     first>=999
  5.                 loop
  6.                         from
  7.                             second:=100
  8.                         until
  9.                             second>=999
  10.                         loop
  11.                             -- check if its a palindrome or not. check if its larger than last one calculated
  12.                             print(" -- ")
  13.                             io.put_integer(first*second)
  14.                             print(" -- ")
  15.                             second:=second+1;
  16.                         end
  17.                     first:=first+1
  18.                 end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement