Loops/Downward for
fn main() {
for i in 10..=0 step -1 { print " "; }
println "";
}
Output:
10 9 8 7 6 5 4 3 2 1 0
Attribution: This is a community solution for the Rosetta Code task Loops/Downward for in Zen C.
This article uses material from the Rosetta Code article Loops/Downward for, which is released under the GNU Free Documentation License 1.3. A list of the original authors can be found in the page history.