Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
6
Task/Loops-Foreach/COBOL/loops-foreach.cobol
Normal file
6
Task/Loops-Foreach/COBOL/loops-foreach.cobol
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
01 things occurs 3.
|
||||
...
|
||||
set content of things to ("Apple", "Banana", "Coconut")
|
||||
perform varying thing as string through things
|
||||
display thing
|
||||
end-perform
|
||||
2
Task/Loops-Foreach/Chapel/loops-foreach.chapel
Normal file
2
Task/Loops-Foreach/Chapel/loops-foreach.chapel
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
var food = ["Milk", "Bread", "Butter"];
|
||||
for f in food do writeln(f);
|
||||
Loading…
Add table
Add a link
Reference in a new issue