Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
6
//fpc 3.0.0 var a:array [1..100] of integer; i,n,s:integer; begin write ('Введите количество элементов массива:'); readln (n); for i:=1 to n do a[i]:=random (15)-10; write (a[i],' '); writeln; for i:=1 to n do if a[i]<0 then s:=s+a[i]; writeln ('s=',s); readln end.
run
|
edit
|
history
|
help
0
homework
2
sorting_direct_choise_no_optimized
Unicorn
Membalik string
pdp33-bankAccounts
Power for integers
1
test28
Code1