Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
6
Task/Loops-For/Adina/loops-for-1.adina
Normal file
6
Task/Loops-For/Adina/loops-for-1.adina
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
цикл
|
||||
номер-строки 5
|
||||
цикл
|
||||
номер-колонки номер-строки
|
||||
вывести «*»
|
||||
вывести/перенос «*»
|
||||
7
Task/Loops-For/Adina/loops-for-2.adina
Normal file
7
Task/Loops-For/Adina/loops-for-2.adina
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
english()
|
||||
for
|
||||
$ i 5
|
||||
for
|
||||
$ j i
|
||||
display "*"
|
||||
displayln "*"
|
||||
3
Task/Loops-For/DuckDB/loops-for-1.duckdb
Normal file
3
Task/Loops-For/DuckDB/loops-for-1.duckdb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
select list_transform(range(1,6),
|
||||
i -> list_transform(range(1,i+1),
|
||||
j -> '*').array_to_string('')) as stars;
|
||||
3
Task/Loops-For/DuckDB/loops-for-2.duckdb
Normal file
3
Task/Loops-For/DuckDB/loops-for-2.duckdb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
select (select string_agg('*', '') from range(1,i+1))
|
||||
from range(1,6) _(i)
|
||||
order by i;
|
||||
3
Task/Loops-For/DuckDB/loops-for-3.duckdb
Normal file
3
Task/Loops-For/DuckDB/loops-for-3.duckdb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
select (select string_agg(j, ',' order by j) from range(1,i+1) _(j))
|
||||
from range(1,6) _(i)
|
||||
order by i;
|
||||
17
Task/Loops-For/Eiffel/loops-for.e
Normal file
17
Task/Loops-For/Eiffel/loops-for.e
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
class APPLICATION
|
||||
create make
|
||||
feature
|
||||
make local
|
||||
i, j: INTEGER
|
||||
do from i := 1
|
||||
until i > 5 loop
|
||||
from j := 1
|
||||
until j > i loop
|
||||
print("*")
|
||||
j := j + 1
|
||||
end
|
||||
print("%N")
|
||||
i := i + 1
|
||||
end
|
||||
end
|
||||
end
|
||||
6
Task/Loops-For/Extended-Color-BASIC/loops-for.basic
Normal file
6
Task/Loops-For/Extended-Color-BASIC/loops-for.basic
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
10 FOR I = 1 TO 5
|
||||
20 FOR J = 1 TO I
|
||||
30 PRINT "*";
|
||||
40 NEXT J
|
||||
50 PRINT
|
||||
60 NEXT I
|
||||
4
Task/Loops-For/Pluto/loops-for.pluto
Normal file
4
Task/Loops-For/Pluto/loops-for.pluto
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
for i = 1, 5 do
|
||||
for _ = 1, i do io.write("*") end
|
||||
print()
|
||||
end
|
||||
4
Task/Loops-For/TAV/loops-for-1.tav
Normal file
4
Task/Loops-For/TAV/loops-for-1.tav
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
?# i =: from 1 upto 5
|
||||
?# j =: from 1 upto i
|
||||
print '*' nonl
|
||||
print ''
|
||||
2
Task/Loops-For/TAV/loops-for-2.tav
Normal file
2
Task/Loops-For/TAV/loops-for-2.tav
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
?# i =: from 1 upto 5
|
||||
print string '*' times i
|
||||
4
Task/Loops-For/TAV/loops-for-3.tav
Normal file
4
Task/Loops-For/TAV/loops-for-3.tav
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
?# i =: from 0 upto 5
|
||||
?# j =: from 1 upto i
|
||||
print j nonl
|
||||
print ''
|
||||
Loading…
Add table
Add a link
Reference in a new issue