Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
5
Task/Test-a-function/Ada/test-a-function-2.ada
Normal file
5
Task/Test-a-function/Ada/test-a-function-2.ada
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function Palindrome (Text : String) return Boolean
|
||||
with Post => Palindrome'Result =
|
||||
(Text'Length < 2 or else
|
||||
((Text(Text'First) = Text(Text'Last)) and then
|
||||
Palindrome(Text(Text'First+1 .. Text'Last-1))));
|
||||
Loading…
Add table
Add a link
Reference in a new issue