Libraryless. Click here for Pure Java version (1228L/9K/27K).
1 | !7 |
2 | |
3 | p { |
4 | assertEquals_match("houses", continue(" |
5 | the plural of day is days |
6 | the plural of spouse is spouses |
7 | the plural of house is... |
8 | ")); |
9 | print("ok"); |
10 | } |
11 | |
12 | sS continue(S s) { |
13 | ret nextToLastWord(s) + "s"; |
14 | } |
Began life as a copy of #1006572
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006574 |
Snippet name: | Riddle 2 [works] |
Eternal ID of this version: | #1006574/1 |
Text MD5: | d760e6e069ad984666661a8c7efc3fce |
Transpilation MD5: | f3ca1a00fc841f6bc4aabd5c3f3984a5 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-18 03:31:28 |
Source code size: | 235 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 568 / 689 |
Referenced in: | [show references] |