program pics;
var N : integer;
OutString : string;
begin
for N := 1 to 6 do
begin
Str(2*N, OutString);
writeln('image'+ OutString)
end
end.
That is the code I've got and here is its output:
image2
image4
image6
image8
image10
image12
but here is the output format that I want:
image002
image004
image006
image008
image010
image012
Have you got a neat way of recoding it?