Jump to content

Loops/For: Difference between revisions

Loops/For in Asymptote
(Loops/For in Asymptote)
Line 474:
*****
******</pre>
 
=={{header|Asymptote}}==
Asymptote's control structures are similar to those in C, C++, or Java
<lang Asymptote>for(int i = 0; i < 6; ++i) {
for(int j = 0; j < i; ++j) {
write("*", suffix=none);
}
write("");
}</lang>
 
=={{header|AutoHotkey}}==
2,170

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.