Answer to Question #37515 in Delphi | Pascal for Abdur

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
1
Expert's answer
2013-12-04T12:57:00-0500
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS