Recent

Author Topic: Array  (Read 7387 times)

Kays

  • Hero Member
  • *****
  • Posts: 569
  • Whasup!?
    • KaiBurghardt.de
Re: Array
« Reply #15 on: March 19, 2017, 01:03:53 am »
[…] A homework ? […]
No, it's John Cena – he can do it on his own. (run “John Cena's 2014 theme song” in your head now) 8-)

It is sad if the OP doesn't come back.
“You can't see me, my time is now”
Yours Sincerely
Kai Burghardt

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Array
« Reply #16 on: March 19, 2017, 03:01:27 am »
:D

eny

  • Hero Member
  • *****
  • Posts: 1634
Re: Array
« Reply #17 on: March 19, 2017, 11:38:48 am »
Plese do not remove the original post.
Now it is totally unclear what this topic was about.
That's why for homework assignments always the full first post has to be quoted.
So that when teachers come here they can see that the question was answered by others.
All posts based on: Win10 (Win64); Lazarus 2.0.10 'stable' (x64) unless specified otherwise...

Bart

  • Hero Member
  • *****
  • Posts: 5275
    • Bart en Mariska's Webstek
Re: Array
« Reply #18 on: March 19, 2017, 11:42:34 am »
Off topic.

Maybe we should add a "Help with homework assignements" section to the forum?
I'ld be very happy to moderate that  O:-)

Bart

Thaddy

  • Hero Member
  • *****
  • Posts: 14204
  • Probably until I exterminate Putin.
Re: Array
« Reply #19 on: March 19, 2017, 01:19:17 pm »
As long as OP can generate this sequence he is on the right track.  8-)
Code: [Select]
1234
1243
1324
1342
1423
1432
2134
2143
2314
2341
2413
2431
3124
3142
3214
3241
3412
3421
4123
4132
4213
4231
4312
4321
Now, shall I publish some code? O:-)
Specialize a type, not a var.

eny

  • Hero Member
  • *****
  • Posts: 1634
Re: Array
« Reply #20 on: March 19, 2017, 01:55:35 pm »
As long as OP can generate this sequence he is on the right track.  8-)
Code: [Select]
1234
...
4321
Now, shall I publish some code? O:-)
It's ok I'll do it:
Code: [Select]
writeln('1234');
writeln('1243');
writeln('1324');
...
8)
All posts based on: Win10 (Win64); Lazarus 2.0.10 'stable' (x64) unless specified otherwise...

 

TinyPortal © 2005-2018