i've been given a task to do the following program without using structures or linked list and ... . just with arrays and simple things.
the application will accept some data as follow :
N1 F N2
N2 F N3
and then print them out from grandfather to son which is in the above case :
N1 N2 N3
i had some ideas but they were not good enough for big families .
i'd appreciate it if someone could give me a help with that .