Find a file
2024-01-22 23:25:07 +01:00
greater-than.rkt Add "What is greater, 20 or the number?" solution 2024-01-22 23:25:07 +01:00
LICENSE Add license, readme 2024-01-22 23:25:02 +01:00
README Add license, readme 2024-01-22 23:25:02 +01:00

What is greater, 20 or the number?

Simple solution of the following problem:

> There is constant, "twenty", with assigned value of 20. Then, there is a
> procedure "greater-than" that takes single numeric parameter "the-number": if
> "the-number" is greater than "twenty", the "greater-than" procedure returns
> the text "Větší je the-number." (where "the-number" is the actual value of
> "the-number" variable), and "Větší je 20." otherwise.

For more information see Czech wikibook "Neprogramátor": https://cs.wikibooks.org/wiki/Neprogram%C3%A1tor/%C4%8Carod%C4%9Bjnick%C3%A9_%C5%99emeslo:_zdrojov%C3%A9_k%C3%B3dy_a_repozit%C3%A1%C5%99