Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
1
//fpc 3.0.0 program one; var i, s: integer; A: array [1..10] of integer; begin Randomize; for i:=1 to 10 do begin A[i]:=random(20)-10; writeln(A[i]:5); end; s:=0; for i:=1 to 10 do if A[i]>0 then s:=s+A[i]; writeln('сумма',s); end.
run
|
edit
|
history
|
help
0
Андреева Урок 6 задача 8 (1531)
Union of set with array of elements
Huong11a2@
TID-CALCULATOR
Pascal First
exRecords
5 2 8
matrica
Бассейн-5
Бассейн-7