Loops/Downward for: Difference between revisions

Add C3
(Add C3)
Line 844:
<syntaxhighlight lang="cpp">for(int i = 10; i >= 0; --i)
std::cout << i << "\n";</syntaxhighlight>
 
=={{header|C3}}==
<syntaxhighlight lang="c3">for (int i = 10; i >= 0; i--)
{
io::printn(i);
}</syntaxhighlight>
 
=={{header|Ceylon}}==
38

edits