Casting out nines: Difference between revisions

Link in task no longer valid. Updated with archive.org snapshot from when the task was created.
(→‎{{header|C#}}: Regularize header markup to recommended on category page)
(Link in task no longer valid. Updated with archive.org snapshot from when the task was created.)
Line 6:
 
;Part 1
Write a procedure (say <math>\mathit{co9}(x)</math>) which implements [https://web.archive.org/web/20120619091249/http://mathforum.org/library/drmath/view/55926.html Casting Out Nines] as described by returning the checksum for <math>x</math>. Demonstrate the procedure using the examples given there, or others you may consider lucky.
 
;Part 2
1,462

edits