Hi,
Attached is a code which I have written.
I would like to create a sweeping frequeny.
The flow is as,
1) Accept input
2) Count up till it reach the upper limit
3) Count down till it reach the llower imit
4) Count up to the middle of the two limits.
I have create 3 while loops to excute the above algorithm. I wrote it based on my knowledge of C Lanuage. May I know is there anyway which I can optimize my code?
Thanks
Jieyi