Top Down And Bottom Up Approach In C