Factors of an integer: Difference between revisions
→{{header|C sharp|C#}}: moved 1.0 output, added the correct 3.0 output
Thundergnat (talk | contribs) m (→{{header|Haskell}}: fix markup) |
(→{{header|C sharp|C#}}: moved 1.0 output, added the correct 3.0 output) |
||
Line 1,644:
} while (true);
}</syntaxhighlight>
{{out}}
<pre>Number:▼
32434243▼
For 1 through 5695▼
Found: 1. 32434243 / 1 = 32434243▼
Found: 307. 32434243 / 307 = 105649▼
Done.</pre>▼
===C# 3.0===
Line 1,663 ⟶ 1,670:
{{out}}
<pre>1, 3, 5, 9, 15, 45</pre>
▲<pre>Number:
▲32434243
▲For 1 through 5695
▲Found: 1. 32434243 / 1 = 32434243
▲Found: 307. 32434243 / 307 = 105649
▲Done.</pre>
=={{header|C++}}==
|