Middle three digits: Difference between revisions
Content added Content deleted
(→{{header|D}}: don't need an exception actually) |
(Promote to full task from draft.) |
||
Line 1: | Line 1: | ||
{{ |
{{task}} |
||
The task is to: |
The task is to: |
||
:“''Write a function/procedure/subroutine that is called with an integer value and returns the middle three digits of the integer if possible or a clear indication of an error if this is not possible.''” |
:“''Write a function/procedure/subroutine that is called with an integer value and returns the middle three digits of the integer if possible or a clear indication of an error if this is not possible.''” |