Question #37515

Hello
I have an array of about 8760 numbers. i need to write it in one line in delphi.
if i use the writeln command like this
writeln(array[1],array[2]....so on) it gets really really long. is their a shorter way.
please help.
thanks

Expert's answer

program n1;
const n=8760;
var i:integer;
arr:array[1..n] of real;
begin
// fill array 'arr'
for i:=1 to n do write(arr[i]);
end.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS