McNuggets problem: Difference between revisions

m
Fixed c# formatting
(Added solution for C#. Works under Windows and Linux/MONO.)
m (Fixed c# formatting)
Line 326:
 
=={{header|C#}}==
<lang c#>
using System;
 
Line 359 ⟶ 360:
}
}
</lang>
{{out}}
<pre>
Anonymous user