Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cs-142:pig-latin [2015/05/19 17:40]
cs142ta [Solution]
cs-142:pig-latin [2015/05/27 05:15] (current)
cs142ta remove break
Line 58: Line 58:
  {  {
  // as soon as it is, we've found the first value  // as soon as it is, we've found the first value
- break; // this breaks ​immediately out of the for loop+ return pos; // this returns ​immediately out of the function
  }  }
  }  }
cs-142/pig-latin.txt ยท Last modified: 2015/05/27 05:15 by cs142ta
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0