Hi All . I am new to the forums and my english skills are not that good .
Anyway my question is in relation with a homework to be done . However i'm not requesting a complete code solution nor the complete algorithm . All i want is a starting point of algorithm from which i can build a good and fast algorithm , you will understand why .
So the problem is very simple :
make a program fir.c that will take a paramater and return the display of a fir according to the parameter
I don't know if it is allowed to post a pastebin but i have no choice to show you the result .
the results of "fir" program with two parameters 5 then 10
http://pastebin.com/m53dc3d03
Restrictions :
- Program has to compile in less than 2 secs
- Use recursivity
- maximum 5 functions allowed
- 25 lines maximum per functions allowed
You will clearly understand that whithout a good algorithm these restrucions cannot be respected .
Thanx in advance for your answers and advices