Talk:Middle three digits: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Inspiration: And thanks.)
Line 1: Line 1:
==Inspiration==
==Inspiration==
The idea for the task comes from this blog entry: [http://www.mikedoesweb.com/2013/interesting-interview-question-1/ Interesting interview question #1] by Michael Jasper. Thanks. --[[User:Paddy3118|Paddy3118]] 12:41, 2 February 2013 (UTC)
The idea for the task comes from this blog entry: [http://www.mikedoesweb.com/2013/interesting-interview-question-1/ Interesting interview question #1] by Michael Jasper. Thanks. --[[User:Paddy3118|Paddy3118]] 12:41, 2 February 2013 (UTC)

==Second D entry and return type==
Because the middle three digits can have leading zeroes, I would think that the more natural return type would be a string rather than an int. --[[User:Paddy3118|Paddy3118]] 19:18, 3 February 2013 (UTC)

Revision as of 19:18, 3 February 2013

Inspiration

The idea for the task comes from this blog entry: Interesting interview question #1 by Michael Jasper. Thanks. --Paddy3118 12:41, 2 February 2013 (UTC)

Second D entry and return type

Because the middle three digits can have leading zeroes, I would think that the more natural return type would be a string rather than an int. --Paddy3118 19:18, 3 February 2013 (UTC)